Skip to content

Commit

Permalink
Redirect URL requests with "caravel" to "superset" (#1651)
Browse files Browse the repository at this point in the history
* Redirect URL requests with "caravel" to "superset"

* Adding extra line break
  • Loading branch information
kingo55 authored and mistercrunch committed Nov 20, 2016
1 parent 7e1852e commit 868e5c4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions superset/views.py
Expand Up @@ -2624,4 +2624,11 @@ def __init__(self, url_map, *items):
@app.route('/<regex("panoramix\/.*"):url>')
def panoramix(url): # noqa
return redirect(request.full_path.replace('panoramix', 'superset'))


@app.route('/<regex("caravel\/.*"):url>')
def caravel(url): # noqa
return redirect(request.full_path.replace('caravel', 'superset'))


# ---------------------------------------------------------------------

0 comments on commit 868e5c4

Please sign in to comment.