CI updates for Leafcutter
This commit is contained in:
parent
ae527fdcf3
commit
720a96af97
3 changed files with 5 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { FC, createContext, useContext, useReducer, useState } from "react";
|
||||
import { colors, typography } from "styles/theme";
|
||||
|
||||
const basePath = process.env.GITLAB_CI ? "/leafcutter/leafcutter-web" : "";
|
||||
const basePath = process.env.GITLAB_CI ? "/link/link-stack/apps/leafcutter" : "";
|
||||
const imageURL = (image: any) =>
|
||||
typeof image === "string" ? `${basePath}${image}` : `${basePath}${image.src}`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue