Commit 3aa375d2 authored by Kristian Tan's avatar Kristian Tan

Rerouting

parent 86eb8243
......@@ -183,7 +183,7 @@ def handle_new_device():
return render_template('main.html', **template_data)
@app.route('/delete/<delete_pin>')
@app.route('/remove/<delete_pin>')
def delete_pin(delete_pin):
for key in pins:
if key == delete_pin:
......
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