Skip to content

Commit

Permalink
chore(.env.example): add CORS environment variable to allow cross-ori…
Browse files Browse the repository at this point in the history
…gin resource sharing

chore(docker-compose.yml): pass CORS environment variable to the frontend service to enable cross-origin resource sharing
  • Loading branch information
luandro committed Aug 29, 2023
1 parent f0ae3a3 commit eabb9c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ DOMAIN_RELEASES=releases.earthdefenderstoolkit.com
DOMAIN_ICONS=icons.earthdefenderstoolkit.com
ICONS_TO_DOWNLOAD=30
NOUN_KEY=xxxxxxxxxxxxxxxxxxxxxxxxx
NOUN_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxx
NOUN_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxx
CORS=all
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ services:
NOUN_KEY: ${NOUN_KEY}
NOUN_SECRET: ${NOUN_SECRET}
VIRTUAL_PORT: 3000
CORS: ${CORS}
# https://hub.docker.com/r/nginxproxy/nginx-proxy
proxy:
build: services/nginx-proxy
Expand Down

0 comments on commit eabb9c7

Please sign in to comment.