Skip to content

Commit

Permalink
fix: Redirects old Explore URLs to the new one (apache#20812)
Browse files Browse the repository at this point in the history
(cherry picked from commit 34278c2)
  • Loading branch information
michael-s-molina authored and sadpandajoe committed Jul 22, 2022
1 parent 672bb79 commit d4ba91f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions superset/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,9 @@ def explore(
"This API endpoint is deprecated and will be removed in version 3.0.0",
self.__class__.__name__,
)
if request.method == "GET":
return redirect(request.url.replace("/superset/explore", "/explore"))

initial_form_data = {}

form_data_key = request.args.get("form_data_key")
Expand Down

0 comments on commit d4ba91f

Please sign in to comment.