Skip to content

Commit 7942aef

Browse files
committed
refactor: update CORS variable naming
Refs: HAUKI-663
1 parent bd7a28d commit 7942aef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hauki/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def get_git_revision_hash() -> str:
292292
# https://docs.djangoproject.com/en/3.0/ref/settings/#secure-proxy-ssl-header
293293
SECURE_PROXY_SSL_HEADER = env("SECURE_PROXY_SSL_HEADER")
294294

295-
CORS_ORIGIN_ALLOW_ALL = True
295+
CORS_ALLOW_ALL_ORIGINS = True
296296
CSRF_COOKIE_NAME = "%s-csrftoken" % env("COOKIE_PREFIX")
297297
SESSION_COOKIE_NAME = "%s-sessionid" % env("COOKIE_PREFIX")
298298

0 commit comments

Comments
 (0)