Removed more example code

This commit is contained in:
Thord Johansson 2022-11-29 21:34:53 +01:00
parent 931221d74b
commit a5954e604d

View File

@ -66,9 +66,5 @@ def index():
def configure(): def configure():
return render_template('configure.html') return render_template('configure.html')
@app.route("/<deviceName>/<action>")
def action(deviceName, action):
templateData = {}
return render_template('index.html', **templateData)
if __name__ == "__main__": if __name__ == "__main__":
app.run(host='0.0.0.0', port=8081, debug=True) app.run(host='0.0.0.0', port=8081, debug=True)