Private GIT

Skip to content
Snippets Groups Projects
Commit 0fcd49c9 authored by Ruud's avatar Ruud
Browse files

Stop, restart app placeholder views

parent f16ccf79
Branches
Tags
No related merge requests found
...@@ -22,3 +22,17 @@ def page_not_found(error): ...@@ -22,3 +22,17 @@ def page_not_found(error):
index_url = url_for('web.index') index_url = url_for('web.index')
url = request.path[len(index_url):] url = request.path[len(index_url):]
return redirect(index_url + '#' + url) return redirect(index_url + '#' + url)
@web.route('/exit')
@requires_auth
def exit():
# stopping code
pass
@web.route('/restart')
@requires_auth
def restart():
# restart code
pass
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment