fix trusted origins warning
This commit is contained in:
parent
13937d02ee
commit
d58bbd5598
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user