feat: Refactor session cookie domain handling to use psl for improved domain parsing

This commit is contained in:
Sean Morley
2025-01-26 20:18:50 -05:00
parent d326d38329
commit f5dc0ceb0a
3 changed files with 11 additions and 16 deletions

View File

@@ -152,9 +152,6 @@ else:
# Fallback to the hostname if parsing fails
SESSION_COOKIE_DOMAIN = hostname
print("SESSION_COOKIE_DOMAIN:", SESSION_COOKIE_DOMAIN)
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.7/howto/static-files/