Skip to content

Commit a7e2da1

Browse files
committed
add csrf trusted origin
1 parent 357cbad commit a7e2da1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vbos/config/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class Common(Configuration):
4141
)
4242

4343
ALLOWED_HOSTS = ["*"]
44+
CSRF_TRUSTED_ORIGINS = ["https://vbos-backend.ds.io/"]
4445
ROOT_URLCONF = "vbos.urls"
4546
SECRET_KEY = os.getenv("DJANGO_SECRET_KEY")
4647
WSGI_APPLICATION = "vbos.wsgi.application"

0 commit comments

Comments
 (0)