11 lines
280 B
Python
11 lines
280 B
Python
from flask import Blueprint, request, render_template
|
|
|
|
home_bp = Blueprint('home', __name__, template_folder='.')
|
|
|
|
@home_bp.route("/")
|
|
def root_route():
|
|
if request.method == "GET":
|
|
return render_get(), 200
|
|
|
|
def render_get():
|
|
return render_template('home.html') |