Changes from live
This commit is contained in:
parent
d2522521dd
commit
d0f9e8bb65
11 changed files with 22076 additions and 22031 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
module.exports = {
|
||||
publicRuntimeConfig: {
|
||||
embedded: Boolean(process.env.LINK_EMBEDDED),
|
||||
embedded: true
|
||||
},
|
||||
basePath: "/proxy/leafcutter",
|
||||
assetPrefix: "/proxy/leafcutter",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue