Add CSRF_TRUSTED_ORIGINS setting
This commit is contained in:
parent
e93a323959
commit
6cef4c9fe5
1 changed files with 2 additions and 0 deletions
|
|
@ -11,6 +11,8 @@ SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
|
||||||
|
|
||||||
ALLOWED_HOSTS = ["127.0.0.1", "localhost", "rss.fudiggity.nl", "django"]
|
ALLOWED_HOSTS = ["127.0.0.1", "localhost", "rss.fudiggity.nl", "django"]
|
||||||
|
|
||||||
|
CSRF_TRUSTED_ORIGINS = ["https://rss.fudiggity.nl"]
|
||||||
|
|
||||||
ADMINS = [
|
ADMINS = [
|
||||||
("", email)
|
("", email)
|
||||||
for email in os.getenv("ADMINS", "").split(",")
|
for email in os.getenv("ADMINS", "").split(",")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue