diff --git a/deployment/frogress/entrypoint.sh b/deployment/frogress/entrypoint.sh index 2997fc2..560a5f4 100755 --- a/deployment/frogress/entrypoint.sh +++ b/deployment/frogress/entrypoint.sh @@ -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 diff --git a/frogress/settings.py b/frogress/settings.py index ee9d07b..86dec4f 100644 --- a/frogress/settings.py +++ b/frogress/settings.py @@ -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")