diff --git a/server.py b/server.py index d6ea214..06e5139 100644 --- a/server.py +++ b/server.py @@ -20,15 +20,9 @@ def api_home(): return jsonify(response) if __name__ == '__main__': - app = create_app() - register_api_endpoints(app) - app.register_blueprint(server) - migrate = Migrate(app, db) - socketio.run(app, debug=True) - -def run(): app = create_app() register_api_endpoints(app) app.register_blueprint(server) migrate = Migrate(app, db) socketio.run(app, debug=False) +