fix: régression CORS_ALLOWED_ORIGINS

This commit is contained in:
N3WT DE COMPET
2025-05-30 15:31:02 +02:00
parent 23ab7d04ef
commit a69498dd06
2 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,8 @@ BASE_DIR = Path(__file__).resolve().parent.parent
MEDIA_URL = '/data/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'data')
BASE_URL = os.getenv('CORS_ALLOWED_ORIGINS', 'http://localhost:3000')
BASE_URL = os.getenv('BASE_URL', 'http://localhost:3000')
LOGIN_REDIRECT_URL = '/Subscriptions/registerForms'