♻️ Refactor and update CORS, remove trailing slash from new Pydantic v2 (#617)
This commit is contained in:

committed by
GitHub

parent
53a0aebadf
commit
cfd66d2eee
2
src/.env
2
src/.env
@@ -7,7 +7,7 @@ PROJECT_NAME="FastAPI Project"
|
||||
STACK_NAME=fastapi-project
|
||||
|
||||
# Backend
|
||||
BACKEND_CORS_ORIGINS="[\"http://localhost\", \"http://localhost:4200\", \"http://localhost:3000\", \"http://localhost:8080\", \"https://localhost\", \"https://localhost:4200\", \"https://localhost:3000\", \"https://localhost:8080\", \"http://local.dockertoolbox.tiangolo.com\", \"http://localhost.tiangolo.com\"]"
|
||||
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://localhost.tiangolo.com"
|
||||
SECRET_KEY=changethis
|
||||
FIRST_SUPERUSER=admin@example.com
|
||||
FIRST_SUPERUSER_PASSWORD=changethis
|
||||
|
Reference in New Issue
Block a user