update requirements and WSGI
This commit is contained in:
+2
-2
@@ -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
-1
@@ -1,6 +1,6 @@
|
||||
from app import create_app
|
||||
|
||||
app = create_app()
|
||||
app = hbnet_web_service()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user