after deploy bug
This commit is contained in:
parent
2d9bb3f05b
commit
9e26d44a3c
Binary file not shown.
@ -19,6 +19,8 @@ ALLOWED_HOSTS = ['*']
|
|||||||
|
|
||||||
CSRF_TRUSTED_ORIGINS = [
|
CSRF_TRUSTED_ORIGINS = [
|
||||||
'https://*.flatlogic.app',
|
'https://*.flatlogic.app',
|
||||||
|
'https://*.flatlogic.run',
|
||||||
|
'https://*.flatlogic.com',
|
||||||
'http://localhost:8000',
|
'http://localhost:8000',
|
||||||
'http://127.0.0.1:8000',
|
'http://127.0.0.1:8000',
|
||||||
]
|
]
|
||||||
@ -150,6 +152,7 @@ if (BASE_DIR / 'node_modules').exists():
|
|||||||
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
||||||
|
|
||||||
# Security settings for iframe/proxy support
|
# Security settings for iframe/proxy support
|
||||||
|
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
|
||||||
SESSION_COOKIE_SECURE = True
|
SESSION_COOKIE_SECURE = True
|
||||||
CSRF_COOKIE_SECURE = True
|
CSRF_COOKIE_SECURE = True
|
||||||
SESSION_COOKIE_SAMESITE = "None"
|
SESSION_COOKIE_SAMESITE = "None"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user