Skip to content

Commit

Permalink
Add redirect to /demo (#3532)
Browse files Browse the repository at this point in the history
  • Loading branch information
shifucun committed Sep 12, 2023
1 parent 91bdc1e commit d40732e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/routes/redirects.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ def insights():
code=302))


@bp.route('/demo')
def demo():
return redirect('/link/demo', code=302)


def load_redirects(name):
local_file = gcs.download_file(bucket=GLOBAL_CONFIG_BUCKET,
filename='redirects.json')
Expand Down

0 comments on commit d40732e

Please sign in to comment.