update requirements and WSGI
This commit is contained in:
parent
d2a20b2354
commit
ee4f13c6dd
@ -132,7 +132,7 @@ class ConfigClass(object):
|
||||
|
||||
|
||||
# Setup Flask-User
|
||||
def create_app():
|
||||
def hbnet_web_service():
|
||||
""" Flask application factory """
|
||||
|
||||
# Create Flask app load app.config
|
||||
@ -6086,5 +6086,5 @@ TG #: <strong> ''' + str(tg_d.tg) + '''</strong>
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app = create_app()
|
||||
app = hbnet_web_service()
|
||||
app.run(debug = True, port=hws_port, host=hws_host)
|
||||
|
@ -10,3 +10,4 @@ requests
|
||||
libscrc
|
||||
dmr_utils3
|
||||
cryptography
|
||||
wsgi
|
||||
|
@ -1,6 +1,6 @@
|
||||
from app import create_app
|
||||
|
||||
app = create_app()
|
||||
app = hbnet_web_service()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
Reference in New Issue
Block a user