Skip to content

Commit

Permalink
fix: Redirects old Explore URLs to the new one
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Jul 21, 2022
1 parent 922b4b8 commit 714286c
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 714286c

Please sign in to comment.