feat(main): adds main module
This commit is contained in:
4
app/main/__init__.py
Normal file
4
app/main/__init__.py
Normal file
@@ -0,0 +1,4 @@
|
||||
from flask import Blueprint
|
||||
|
||||
bp = Blueprint('main', __name__)
|
||||
from app.main import routes
|
||||
6
app/main/routes.py
Normal file
6
app/main/routes.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from flask import render_template
|
||||
from app.main import bp
|
||||
|
||||
@bp.route('/')
|
||||
def index():
|
||||
return render_template("index.html")
|
||||
Reference in New Issue
Block a user