kopia lustrzana https://github.com/botheredbybees/kilnController
removed obsolete "run" route
rodzic
d6d317c081
commit
1582670f96
|
@ -25,12 +25,6 @@ def send_static(filename):
|
||||||
log.debug("serving %s"%filename)
|
log.debug("serving %s"%filename)
|
||||||
return bottle.static_file(filename, root='./public/')
|
return bottle.static_file(filename, root='./public/')
|
||||||
|
|
||||||
@app.route('/run')
|
|
||||||
def start_oven():
|
|
||||||
oven.run_profile("abc")
|
|
||||||
|
|
||||||
return "Starting"
|
|
||||||
|
|
||||||
def get_websocket_from_request():
|
def get_websocket_from_request():
|
||||||
env = bottle.request.environ;
|
env = bottle.request.environ;
|
||||||
wsock = env.get('wsgi.websocket')
|
wsock = env.get('wsgi.websocket')
|
||||||
|
|
Ładowanie…
Reference in New Issue