hotfix: access to home pages

This commit is contained in:
SvyatoslavArtymovych 2023-04-28 14:17:54 +03:00
parent 070c9fbcec
commit f527f43b9e
1 changed files with 0 additions and 3 deletions

View File

@ -1,11 +1,8 @@
from flask import render_template, Blueprint from flask import render_template, Blueprint
from flask_login import login_required
main_blueprint = Blueprint("main", __name__) main_blueprint = Blueprint("main", __name__)
@main_blueprint.route("/") @main_blueprint.route("/")
@login_required
def index(): def index():
return render_template("index.html") return render_template("index.html")