fix trusted origins warning

This commit is contained in:
Corban-Lee Jones 2024-08-14 15:42:32 +01:00
parent 13937d02ee
commit d58bbd5598

View File

@ -35,7 +35,7 @@ DEBUG = env('DEBUG')
# Hosts and Origins that the server host must be within.
ALLOWED_HOSTS = ["localhost", "127.0.0.1", "pyrss-website", env("HOST", default="127.0.0.1")]
CSRF_TRUSTED_ORIGINS = ["http://localhost", "http://127.0.0.1", "pyrss-website", "https://" + env("HOST", default="127.0.0.1")]
CSRF_TRUSTED_ORIGINS = ["http://localhost", "http://127.0.0.1", "http://pyrss-website", "https://" + env("HOST", default="127.0.0.1")]
# Application definition