瀏覽代碼

modify home api url got getting manages data

weichen 4 年之前
父節點
當前提交
04a104b3c1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      backstage/home/routes.py

+ 1 - 1
backstage/home/routes.py

@@ -7,7 +7,7 @@ home_app = Blueprint('home', __name__)
 
 @home_app.route('/backstage/home')
 def home():
-    response = requests.get('http://127.0.0.1:5000/api/home')
+    response = requests.get('http://127.0.0.1:5000/api/manages/data?page=home')
     if response.status_code == 200:
         return render_template('home.html',
                                title='首頁',