Skip to content

Commit

Permalink
refactor(build): remove CMS_URL env var not needed at runtime
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Fabian Untermoser committed Jun 18, 2024
1 parent 5baa2c7 commit b907c1c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ NEXT_PRIVATE_STANDALONE=true
NEXTAUTH_SECRET=testsecret

CMS_DATABASE_NAME=vim_cms
CMS_URL="https://preview.vim.org/cms"
CMS_HOST=0.0.0.0
CMS_PORT=1337
CMS_APP_KEYS=testkey1,testkey2
Expand Down
1 change: 0 additions & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ services:
DATABASE_USERNAME: ${DATABASE_USERNAME}
DATABASE_PASSWORD: ${DATABASE_PASSWORD}
DATABASE_SSL: false
CMS_URL: ${CMS_URL}
HOST: ${CMS_HOST}
PORT: ${CMS_PORT}
APP_KEYS: ${CMS_APP_KEYS}
Expand Down

0 comments on commit b907c1c

Please sign in to comment.