Initial commit
This commit is contained in:
13
backend/routes/home.py
Normal file
13
backend/routes/home.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from __future__ import annotations
|
||||
from flask import Blueprint, render_template
|
||||
|
||||
home_bp = Blueprint("home", __name__, url_prefix="/home")
|
||||
|
||||
|
||||
def register_home_routes(app):
|
||||
app.register_blueprint(home_bp)
|
||||
|
||||
|
||||
@home_bp.route("/", methods=["GET"])
|
||||
def home():
|
||||
return render_template("home.html")
|
||||
Reference in New Issue
Block a user