mirror of https://github.com/snachodog/mybuddy.git
CSRF_TRUSTED_ORIGINS is a list derp
This commit is contained in:
parent
e577441c85
commit
5d16e0ea19
|
@ -5,7 +5,7 @@ from .base import *
|
|||
RENDER_EXTERNAL_HOSTNAME = os.environ.get('RENDER_EXTERNAL_HOSTNAME')
|
||||
if RENDER_EXTERNAL_HOSTNAME:
|
||||
ALLOWED_HOSTS.append(RENDER_EXTERNAL_HOSTNAME)
|
||||
CSRF_TRUSTED_ORIGINS = "".join(["https://", RENDER_EXTERNAL_HOSTNAME])
|
||||
CSRF_TRUSTED_ORIGINS.append("".join(["https://", RENDER_EXTERNAL_HOSTNAME]))
|
||||
|
||||
|
||||
# Database
|
||||
|
|
Loading…
Reference in New Issue