Added Home page

This commit is contained in:
2025-02-11 23:15:32 +01:00
parent 8e16b82996
commit 809b9dc638
5 changed files with 148 additions and 1 deletions

View File

@ -1,12 +1,13 @@
from flask import Blueprint
from flask_login import login_required
from app.controllers.auth_controller import login, logout
from app.controllers.home_controller import home
main = Blueprint('main', __name__)
@main.route('/')
def index():
return login()
return home()
@main.route('/login', methods=['GET', 'POST'])
def login_route():