Commit 84bdf0dd authored by Kristian Tan's avatar Kristian Tan

Reroute toggle endpoloint to avoid favicon calls

parent 78a24c77
......@@ -60,7 +60,7 @@ def main():
return render_template('main.html', **template_data)
@app.route("/<change_pin>")
@app.route("/toggle/<change_pin>")
def toggle_pin(change_pin):
# TODO: change_pin is sometimes favicon.co for some reason? Fix
print("========")
......
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