Phase 6: main blueprint
This commit is contained in:
parent
6de8484acd
commit
e04ce89f61
1 changed files with 7 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
||||||
|
from flask import Blueprint, render_template
|
||||||
|
|
||||||
|
main_bp = Blueprint("main", __name__)
|
||||||
|
|
||||||
|
@main_bp.route("/")
|
||||||
|
def index():
|
||||||
|
return render_template("index.html")
|
||||||
Loading…
Add table
Reference in a new issue