From 6e0433dd0810e615365fc45f637208efd921e215 Mon Sep 17 00:00:00 2001 From: meua Date: Fri, 15 Dec 2023 19:22:38 +0800 Subject: [PATCH] fix: remove default_headers --- settings/prod.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/settings/prod.py b/settings/prod.py index 2dfe12f65f..81403bc064 100755 --- a/settings/prod.py +++ b/settings/prod.py @@ -1,5 +1,4 @@ from .common import * # noqa: ignore=F405 -from corsheaders.defaults import default_headers import os # import raven @@ -38,6 +37,9 @@ 'x-csrftoken', 'x-requested-with', 'Nomessage', + 'XMLHttpRequest', + 'X_FILENAME', + 'Pragma', ] DATABASES = {