mirror of
https://github.com/donlon/cloudflare-error-page.git
synced 2025-12-19 14:59:28 +00:00
editor/server: redirect to editor page from root
This commit is contained in:
@@ -83,6 +83,10 @@ def create_app(test_config=None) -> Flask:
|
|||||||
with app.app_context():
|
with app.app_context():
|
||||||
db.create_all()
|
db.create_all()
|
||||||
|
|
||||||
|
@app.route('/')
|
||||||
|
def index():
|
||||||
|
return redirect(url_for('editor.index'))
|
||||||
|
|
||||||
@app.route('/health')
|
@app.route('/health')
|
||||||
def health():
|
def health():
|
||||||
return '', 204
|
return '', 204
|
||||||
|
|||||||
Reference in New Issue
Block a user