remove index app and replace index route inside __init__

This commit is contained in:
2026-04-29 21:23:15 +03:00
parent 4bcea261b1
commit 648b310e13
2 changed files with 5 additions and 8 deletions

View File

@@ -1,6 +0,0 @@
from flask import Blueprint, redirect, url_for, render_template
bp = Blueprint('app', __name__, url_prefix = '/')
@bp.get('/')
def index():
return redirect(url_for('topics.all_topics'))