We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e71c118 commit 25264bfCopy full SHA for 25264bf
1 file changed
app/core/settings.py
@@ -317,7 +317,7 @@
317
COOKIE_SAMESITE = "Lax" if IS_LOCAL else "None"
318
COOKIE_SECURE = not IS_LOCAL
319
COOKIE_HTTPONLY = True
320
-COOKIE_DOMAIN = env("COOKIE_DOMAIN", default="pycon.kr")
+COOKIE_DOMAIN = env("COOKIE_DOMAIN", default="pycon.kr") if not IS_LOCAL else None
321
COOKIE_TRUSTED_ORIGIN_SET = {
322
f"{protocol}://{domain}:{port}"
323
for protocol in ("http", "https")
0 commit comments