2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 02:47:24 +00:00

new self-adjusting paths

This commit is contained in:
Philip Sargent
2021-03-22 02:26:46 +00:00
parent 24bab23508
commit a0f504d1e2
2 changed files with 15 additions and 10 deletions

View File

@@ -109,7 +109,7 @@ SECRET_KEY = "not-the-real-secret-key-a#vaeozn0---^fj!355qki*vj2"
LOGIN_REDIRECT_URL = '/'
SECURE_CONTENT_TYPE_NOSNIFF = True
SECURE_BROWSER_XSS_FILTER = True
#SESSION_COOKIE_SECURE = True # if enabled, cannot login to Django control panel
#SESSION_COOKIE_SECURE = True # if enabled, cannot login to Django control panel, bug elsewhere?
CSRF_COOKIE_SECURE = True
X_FRAME_OPTIONS = 'SAMEORIGIN' # change to "DENY" after we eliminate all the iframes e.g. /xmlvalid.html