diff --git a/main/settings.py b/main/settings.py index a1faaef..d9af607 100644 --- a/main/settings.py +++ b/main/settings.py @@ -13,6 +13,7 @@ from pathlib import Path import environ +from corsheaders.defaults import default_headers from main import sentry @@ -306,16 +307,14 @@ ) CORS_ALLOW_HEADERS = ( - "accept", + *default_headers, + # Misc "accept-encoding", - "authorization", "content-type", - "dnt", "origin", - "user-agent", - "x-csrftoken", - "x-requested-with", + # Sentry "sentry-trace", + "baggage", ) # Sentry Config