frontend needs to come first

This commit is contained in:
wh1te909 2024-10-06 06:22:25 +00:00 committed by sadnub
parent d894f92d5e
commit 1c1d3bd619
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ ADMIN_URL = 'admin/'
ALLOWED_HOSTS = ['${API_HOST}', '${APP_HOST}', '*']
CORS_ORIGIN_WHITELIST = ['https://${API_HOST}', 'https://${APP_HOST}']
CORS_ORIGIN_WHITELIST = ['https://${APP_HOST}', 'https://${API_HOST}']
CORS_ALLOW_CREDENTIALS = True
SESSION_COOKIE_DOMAIN = '${BASE_DOMAIN}'

View File

@ -92,7 +92,7 @@ ALLOWED_HOSTS = ['${API_HOST}', '${APP_HOST}', 'tactical-backend']
ADMIN_URL = '${ADMINURL}/'
CORS_ORIGIN_WHITELIST = ['https://${API_HOST}', 'https://${APP_HOST}']
CORS_ORIGIN_WHITELIST = ['https://${APP_HOST}', 'https://${API_HOST}']
CORS_ALLOW_CREDENTIALS = True
SESSION_COOKIE_DOMAIN = '${BASE_DOMAIN}'