Commit ba0ba6f2 authored by Kristian Tan's avatar Kristian Tan

Rerouting

parent b9e3aa7b
...@@ -147,9 +147,11 @@ def handle_data(): ...@@ -147,9 +147,11 @@ def handle_data():
} }
return render_template('main.html', **template_data) return render_template('main.html', **template_data)
@app.route("/devices/add_device") @app.route("/devices/add_device")
def add_new_device(): def add_new_device():
pass pass
if __name__ == '__main__': if __name__ == '__main__':
app.run(host='0.0.0.0', port=8090) app.run(host='0.0.0.0', port=8090)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment