mirror of
https://github.com/logos-co/open-law.git
synced 2025-01-21 04:10:13 +00:00
hotfix: access to home pages
This commit is contained in:
parent
070c9fbcec
commit
f527f43b9e
@ -1,11 +1,8 @@
|
||||
from flask import render_template, Blueprint
|
||||
from flask_login import login_required
|
||||
|
||||
|
||||
main_blueprint = Blueprint("main", __name__)
|
||||
|
||||
|
||||
@main_blueprint.route("/")
|
||||
@login_required
|
||||
def index():
|
||||
return render_template("index.html")
|
||||
|
Loading…
x
Reference in New Issue
Block a user