trusted origins dev
All checks were successful
Build and Push Docker Image / build (push) Successful in 23s
All checks were successful
Build and Push Docker Image / build (push) Successful in 23s
This commit is contained in:
parent
2ee4b3102a
commit
13937d02ee
@ -7,4 +7,3 @@ staticfiles/
|
|||||||
.bump2version.cfg
|
.bump2version.cfg
|
||||||
.env
|
.env
|
||||||
.git/
|
.git/
|
||||||
.gitignore
|
|
@ -34,8 +34,8 @@ SECRET_KEY = env('SECRET_KEY', default="unsecure-default-secret-key")
|
|||||||
DEBUG = env('DEBUG')
|
DEBUG = env('DEBUG')
|
||||||
|
|
||||||
# Hosts and Origins that the server host must be within.
|
# Hosts and Origins that the server host must be within.
|
||||||
ALLOWED_HOSTS = ["localhost", "127.0.0.1", env("HOST", default="127.0.0.1")]
|
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", "https://" + 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")]
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user