Skip to content

Commit

Permalink
Add CORS config for frontend app in local. ref #62
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Dec 18, 2023
1 parent 36d551f commit e6e5666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COMPOSE_FILE=docker-compose.yml;docker/dev.yml
API_PORT=127.0.0.1:8000

# CORS
CORS_ALLOW_ORIGINS=["http://localhost","http://localhost:8000"]
CORS_ALLOW_ORIGINS=["http://localhost","http://localhost:8000","http://localhost:5173"]

# authentication server
OAUTH2_SERVER_URL=https://world.openfoodfacts.org/cgi/auth.pl
Expand Down

0 comments on commit e6e5666

Please sign in to comment.