Skip to content

Commit

Permalink
chore: exempt cache-warmup endpoint from CSRF error
Browse files Browse the repository at this point in the history
  • Loading branch information
mapledan committed Nov 14, 2023
1 parent b430b5a commit 485aed1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions superset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ def _try_json_readsha(filepath: str, length: int) -> str | None:
WTF_CSRF_EXEMPT_LIST = [
"superset.views.core.log",
"superset.views.core.explore_json",
"superset.charts.api.warm_up_cache",
"superset.charts.data.api.data",
]

Expand Down

0 comments on commit 485aed1

Please sign in to comment.