Update __init__.py

This commit is contained in:
Mr Chen
2024-11-12 14:33:19 +08:00
parent c9288e8dbe
commit 98f7c4810e
-7
View File
@@ -171,13 +171,6 @@ def inject_global_variables():
}
return dict(config=g_config, data=data)
# from gevent.pywsgi import WSGIServer
# from geventwebsocket.handler import WebSocketHandler
# http_server = WSGIServer(('0.0.0.0', config.DEFAULT_SERVER_PORT), app, handler_class=WebSocketHandler)
# http_server.serve_forever()
# socketio.run(app, host='0.0.0.0', port=PORT)
# def create_app(app_name = None):
#
# if not app_name: