This commit is contained in:
-10
@@ -34,16 +34,6 @@ def ws_upload(ws):
|
|||||||
ws.send(json.dumps({'ok': True, 'bytes': total, 'elapsed_ms': elapsed}))
|
ws.send(json.dumps({'ok': True, 'bytes': total, 'elapsed_ms': elapsed}))
|
||||||
|
|
||||||
|
|
||||||
@app.route('/')
|
|
||||||
def index():
|
|
||||||
return render_template('index.html', version=VERSION)
|
|
||||||
|
|
||||||
|
|
||||||
@app.route('/health')
|
|
||||||
def health():
|
|
||||||
return {'ok': True, 'version': VERSION}
|
|
||||||
|
|
||||||
|
|
||||||
@app.route('/upload', methods=['POST'])
|
@app.route('/upload', methods=['POST'])
|
||||||
def upload():
|
def upload():
|
||||||
t0 = time.time()
|
t0 = time.time()
|
||||||
|
|||||||
Reference in New Issue
Block a user