Compare commits

..

No commits in common. "b873b1fd0fde73852a2b1fe644d844c43a864773" and "841be4f1bb5a87e3dc28c9009b385fb14dcfe2b7" have entirely different histories.

2 changed files with 1 additions and 4 deletions

View File

@ -31,6 +31,5 @@ setuptools==75.3.0
sqlparse==0.4.1
toml==0.10.2
typing_extensions==4.12.2
tzdata==2024.2
urllib3==2.2.3
wrapt==1.12.1

View File

@ -56,6 +56,7 @@ if get_env_value('DJANGO_FORCE_DEV_MODE', default=False) == 'True':
ALLOWED_HOSTS = ['127.0.0.1', 'localhost', get_env_value('DJANGO_ALLOWED_HOST')]
# Application definition
INSTALLED_APPS = [
@ -238,7 +239,4 @@ CSRF_COOKIE_SECURE = True
SECURE_SSL_REDIRECT = False
# allow detection of https behind "old" nginx
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
SECURE_HSTS_SECONDS = get_env_value('DJANGO_SECURE_HSTS_SECONDS', default=120)