Changes from live

This commit is contained in:
Darren Clarke 2023-06-05 14:48:23 +00:00
parent d2522521dd
commit d0f9e8bb65
11 changed files with 22076 additions and 22031 deletions

View file

@ -18,6 +18,7 @@ COPY --from=builder ${APP_DIR}/out/package-lock.json ./package-lock.json
RUN npm ci --omit=dev
COPY --from=builder ${APP_DIR}/out/full/ .
ARG LINK_EMBEDDED=true
RUN npm i -g turbo
RUN turbo run build --filter=leafcutter

View file

@ -13,11 +13,13 @@ export const Layout: FC<PropsWithChildren> = ({ children }) => {
const [cookies, setCookie] = useCookies(["cookieConsent"]);
const consentGranted = cookies.cookieConsent === "true";
/*
const {
publicRuntimeConfig: { embedded },
} = getConfig();
*/
const embedded = true;
const {
colors: {
white,

View file

@ -1,6 +1,6 @@
module.exports = {
publicRuntimeConfig: {
embedded: Boolean(process.env.LINK_EMBEDDED),
embedded: true
},
basePath: "/proxy/leafcutter",
assetPrefix: "/proxy/leafcutter",