Skip to content
Snippets Groups Projects
Commit 8b909ed6 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

Simplify default URIs

parent b8a06ff4
No related branches found
No related tags found
No related merge requests found
......@@ -31,16 +31,7 @@ def info():
return 'Dev SWH UI'
@app.route('/public')
def public():
"""Main application view.
At the moment, redirect to the content search view.
"""
return redirect(url_for('search'))
@app.route('/public/search')
@app.route('/search')
def search():
"""Search for hashes in swh-storage.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment