Skip to content

Commit

Permalink
fix(conf/default.py): use DASHBOARD_CSRF_TRUSTED_ORIGINS as env vars (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
wklken authored Jan 7, 2025
1 parent 5d40022 commit 0c2f369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dashboard/apigateway/apigateway/conf/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@


# CSRF Config
CSRF_TRUSTED_ORIGINS = env.list("CSRF_TRUSTED_ORIGINS", default=[])
CSRF_TRUSTED_ORIGINS = env.list("DASHBOARD_CSRF_TRUSTED_ORIGINS", default=[])
CSRF_COOKIE_DOMAIN = env.str("DASHBOARD_CSRF_COOKIE_DOMAIN")
CSRF_COOKIE_NAME = env.str("DASHBOARD_CSRF_COOKIE_NAME", f"{BK_APP_CODE}_csrftoken")

Expand Down

0 comments on commit 0c2f369

Please sign in to comment.