Removed more example code
This commit is contained in:
parent
931221d74b
commit
a5954e604d
4
main.py
4
main.py
|
@ -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)
|
Loading…
Reference in New Issue