forked from orbit-oss/flask
parent
5b309831ec
commit
025589ee76
63 changed files with 3784 additions and 3459 deletions
|
|
@ -1,13 +1,13 @@
|
|||
from flask import Blueprint, render_template
|
||||
|
||||
frontend = Blueprint('frontend', __name__, template_folder='templates')
|
||||
frontend = Blueprint("frontend", __name__, template_folder="templates")
|
||||
|
||||
|
||||
@frontend.route('/')
|
||||
@frontend.route("/")
|
||||
def index():
|
||||
return render_template('frontend/index.html')
|
||||
return render_template("frontend/index.html")
|
||||
|
||||
|
||||
@frontend.route('/missing')
|
||||
@frontend.route("/missing")
|
||||
def missing_template():
|
||||
return render_template('missing_template.html')
|
||||
return render_template("missing_template.html")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue