waitress
This commit is contained in:
parent
12e3fe43d2
commit
0bf0b17243
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import json
|
||||
import os
|
||||
from flask import Flask, request
|
||||
from waitress import serve
|
||||
from functools import reduce
|
||||
|
||||
app = Flask(__name__)
|
||||
|
|
@ -36,4 +37,4 @@ def track():
|
|||
else:
|
||||
return 'hash missing'
|
||||
|
||||
app.run(port=8001)
|
||||
serve(app, host='127.0.0.1', port=8001)
|
||||
Loading…
Add table
Add a link
Reference in a new issue