Skip to content
This repository was archived by the owner on Jun 28, 2025. It is now read-only.

Commit 0886094

Browse files
refactor(build): remove CMS_URL env var not needed at runtime
CMS_URL var configures the context path for the STRAPI CMS backend. It is required at build time in order to make STRAPI internal routes work. It is not needed in local development, as there no contextpath is required.
1 parent fa07b97 commit 0886094

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

.env.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ NEXT_PRIVATE_STANDALONE=true
1111
NEXTAUTH_SECRET=testsecret
1212

1313
CMS_DATABASE_NAME=vim_cms
14-
CMS_URL="https://preview.vim.org/cms"
1514
CMS_HOST=0.0.0.0
1615
CMS_PORT=1337
1716
CMS_APP_KEYS=testkey1,testkey2

docker-compose.dev.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ services:
3939
DATABASE_USERNAME: ${DATABASE_USERNAME}
4040
DATABASE_PASSWORD: ${DATABASE_PASSWORD}
4141
DATABASE_SSL: false
42-
CMS_URL: ${CMS_URL}
4342
HOST: ${CMS_HOST}
4443
PORT: ${CMS_PORT}
4544
APP_KEYS: ${CMS_APP_KEYS}

0 commit comments

Comments
 (0)