Browse Source

add home route

weichen 4 years ago
parent
commit
d54a397a63
1 changed files with 9 additions and 0 deletions
  1. 9 0
      backstage/home/routes.py

+ 9 - 0
backstage/home/routes.py

@@ -0,0 +1,9 @@
+from flask import render_template, Blueprint
+import requests
+
+home_app = Blueprint('home', __name__)
+
+
+@home_app.route('/backstage/home')
+def home():
+    return render_template('home.html')