Explorar o código

modify home api url got getting manages data

weichen %!s(int64=4) %!d(string=hai) anos
pai
achega
04a104b3c1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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='首頁',