sign up
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
from flask import Blueprint
|
||||
from flask import Blueprint, redirect, url_for
|
||||
|
||||
bp = Blueprint("app", __name__, url_prefix = "/")
|
||||
|
||||
@bp.route("/")
|
||||
def hello_world():
|
||||
return f"<img src='static/avatars/default.webp'></img>"
|
||||
def index():
|
||||
return redirect(url_for("topics.all_topics"))
|
||||
|
Reference in New Issue
Block a user