This commit is contained in:
Ethan Roseman 2022-11-24 01:35:48 +09:00
parent 6fb6d3c6dc
commit bf2472fd21
No known key found for this signature in database
GPG Key ID: 27F9FCEB8E4969BD
2 changed files with 3 additions and 1 deletions

View File

@ -7,4 +7,4 @@ done
poetry run python manage.py migrate
poetry run gunicorn frogress.wsgi
poetry run gunicorn frogress.wsgi -b 0.0.0.0:8000

View File

@ -8,6 +8,7 @@ env = environ.Env(
DEBUG=(bool, False),
DJANGO_LOG_LEVEL=(str, "INFO"),
ALLOWED_HOSTS=(list, []),
CSRF_TRUSTED_ORIGINS=(list, []),
ULTIMATE_API_KEY=(str, ""),
SECURE_SSL_REDIRECT=(bool, False),
SECURE_HSTS_SECONDS=(int, 0),
@ -26,6 +27,7 @@ SECRET_KEY = env("SECRET_KEY")
DEBUG = env("DEBUG")
DJANGO_LOG_LEVEL = env("DJANGO_LOG_LEVEL")
ALLOWED_HOSTS = env("ALLOWED_HOSTS")
CSRF_TRUSTED_ORIGINS = env("CSRF_TRUSTED_ORIGINS")
ULTIMATE_API_KEY = env("ULTIMATE_API_KEY")
SECURE_SSL_REDIRECT = env("SECURE_SSL_REDIRECT")