From 1c1d3bd61990cd013720168dac750b1760287541 Mon Sep 17 00:00:00 2001 From: wh1te909 <7434746+wh1te909@users.noreply.github.com> Date: Sun, 6 Oct 2024 06:22:25 +0000 Subject: [PATCH] frontend needs to come first --- .devcontainer/entrypoint.sh | 2 +- docker/containers/tactical/entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/entrypoint.sh b/.devcontainer/entrypoint.sh index 6c600af2..d64a5623 100644 --- a/.devcontainer/entrypoint.sh +++ b/.devcontainer/entrypoint.sh @@ -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}' diff --git a/docker/containers/tactical/entrypoint.sh b/docker/containers/tactical/entrypoint.sh index 7f73a461..09927c6d 100644 --- a/docker/containers/tactical/entrypoint.sh +++ b/docker/containers/tactical/entrypoint.sh @@ -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}'