diff --git a/scripts/deploy/configure-api-domain.sh b/scripts/deploy/configure-api-domain.sh index dac2c41..3de0c57 100755 --- a/scripts/deploy/configure-api-domain.sh +++ b/scripts/deploy/configure-api-domain.sh @@ -59,7 +59,7 @@ server { add_header Access-Control-Allow-Origin \$cors_origin always; add_header Access-Control-Allow-Credentials "true" always; add_header Access-Control-Allow-Methods "GET, POST, PUT, PATCH, DELETE, OPTIONS" always; - add_header Access-Control-Allow-Headers "Authorization, Content-Type, AdminWebSessionID, X-Requested-With" always; + add_header Access-Control-Allow-Headers "Authorization, Content-Type, AdminWebSessionID, WebSessionID, Currency, X-Language, X-Region, X-Requested-With" always; add_header Vary "Origin" always; if (\$request_method = OPTIONS) { return 204; } diff --git a/src/app/app.html b/src/app/app.html index 2b24c78..356d4e2 100644 --- a/src/app/app.html +++ b/src/app/app.html @@ -10,6 +10,8 @@
{{ 'app.serverError' | translate }}
+} @else if (isAdminHost && !isAdminRoute()) { +