diff --git a/editor/server/__init__.py b/editor/server/__init__.py index 35ccc4a..798a33e 100644 --- a/editor/server/__init__.py +++ b/editor/server/__init__.py @@ -83,6 +83,10 @@ def create_app(test_config=None) -> Flask: with app.app_context(): db.create_all() + @app.route('/') + def index(): + return redirect(url_for('editor.index')) + @app.route('/health') def health(): return '', 204