define server:server

This commit is contained in:
Sorrel Bri 2019-10-12 12:34:05 -07:00
parent b70a126958
commit e5d77a8398

View file

@ -26,3 +26,9 @@ if __name__ == '__main__':
migrate = Migrate(app, db) migrate = Migrate(app, db)
socketio.run(app, debug=True) socketio.run(app, debug=True)
def server():
app = create_app()
register_api_endpoints(app)
app.register_blueprint(server)
migrate = Migrate(app, db)
socketio.run(app, debug=False)