소스 검색

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='首頁',