Skip to content

Commit ba01cdf

Browse files
committed
fix: clean up
1 parent 16a1808 commit ba01cdf

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

settings.py

-5
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,3 @@
5656
# https://docs.djangoproject.com/en/3.2/topics/http/sessions/
5757

5858
SESSION_ENGINE = "api.models.session"
59-
60-
CSRF_TRUSTED_ORIGINS = []
61-
if ENV != "local":
62-
CSRF_TRUSTED_ORIGINS.append(SERVICE_SITE_URL.removeprefix("https://"))
63-
print(f"CSRF_TRUSTED_ORIGINS = {CSRF_TRUSTED_ORIGINS}")

0 commit comments

Comments
 (0)