mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 07:53:23 +00:00
feat: Passage par une variable d'environnement pour les CORS et CSRF
This commit is contained in:
@ -29,6 +29,8 @@ services:
|
||||
environment:
|
||||
- TZ=Europe/Paris
|
||||
- TEST_MODE=True
|
||||
- CORS_ALLOWED_ORIGINS=http://localhost:3000
|
||||
- CSRF_TRUSTED_ORIGINS=http://localhost:3000,http://localhost:8080
|
||||
links:
|
||||
- "database:database"
|
||||
- "redis:redis"
|
||||
|
||||
Reference in New Issue
Block a user