Removed more example code
This commit is contained in:
parent
931221d74b
commit
a5954e604d
6
main.py
6
main.py
|
@ -65,10 +65,6 @@ def index():
|
||||||
@app.route("/configure")
|
@app.route("/configure")
|
||||||
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