Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Rename

andrzejewskyfa1ed1794a8a
diff --git a/saleor/asgi/cors_handler.py b/saleor/asgi/cors_handler.py
index 22aaae2edc..9f47416fcc 100644
--- a/saleor/asgi/cors_handler.py
+++ b/saleor/asgi/cors_handler.py
@@ -40,7 +40,7 @@ def cors_handler(application: ASGI3Application) -> ASGI3Application:
(b"access-control-allow-credentials", b"true"),
(
b"access-control-allow-headers",
- b"Origin, Content-Type, Accept, Authorization, X-Source, "
+ b"Origin, Content-Type, Accept, Authorization, Source-Service-Name, "
b"Authorization-Bearer",
),
(b"access-control-allow-methods", b"POST, OPTIONS"),
diff --git a/saleor/asgi/tests/test_cors.py b/saleor/asgi/tests/test_cors.py
index 9d513f626b..8e97cc7e0d 100644
--- a/saleor/asgi/tests/test_cors.py
+++ b/saleor/asgi/tests/test_cors.py
@@ -61,7 +61,7 @@ async def test_access_control_header_preflight(asgi_app: ASGI3Application, setti
(b"access-control-allow-credentials", b"true"),
(
b"access-control-allow-headers",
- b"Origin, Content-Type, Accept, Authorization, X-Source, "
+ b"Origin, Content-Type, Accept, Authorization, Source-Service-Name, "
b"Authorization-Bearer",
),
(b"access-control-allow-methods", b"POST, OPTIONS"),