From a80ea7dc7be88852401fef099f65a71c713338e2 Mon Sep 17 00:00:00 2001 From: LowkeyCoding Date: Thu, 2 Nov 2023 15:06:19 +0100 Subject: [PATCH] Consistent formatting --- stregsystem/middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stregsystem/middleware.py b/stregsystem/middleware.py index 0f04a84f..086f4b05 100644 --- a/stregsystem/middleware.py +++ b/stregsystem/middleware.py @@ -36,7 +36,7 @@ def handle_preflight(req): CorsMiddleware.set_origin_access(req, res) res['access-control-allow-methods'] = 'POST, GET, OPTIONS, DELETE' - res['Access-Control-Allow-Headers'] = 'Content-type' + res['access-control-allow-headers'] = 'content-type' res['access-control-max-age'] = '86400' return res