diff --git a/docker-compose.yml b/docker-compose.yml index f9cdb4c..e518592 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,8 +8,6 @@ services: - ./nginx.conf:/etc/nginx/nginx.conf:ro networks: - demos-net - environment: - - NODE_ENV=production main-website: image: registry.boomlab.party/rheinsw/demo-websites/main-website diff --git a/lawfirm-demos/demo-1/next.config.ts b/lawfirm-demos/demo-1/next.config.ts index 81c3944..63df2b7 100644 --- a/lawfirm-demos/demo-1/next.config.ts +++ b/lawfirm-demos/demo-1/next.config.ts @@ -2,6 +2,9 @@ import type {NextConfig} from "next"; const isProd = process.env.NODE_ENV === 'production'; +console.log(`🚀 [next.config.ts] Running in ${process.env.NODE_ENV} mode`); +console.log(`👉 basePath: ${isProd ? '/lawfirm/demo1' : '(none)'}`); + const nextConfig: NextConfig = { output: 'standalone', basePath: isProd ? '/lawfirm/demo1' : '',