Browse Source

Merge pull request #438 from jhao104/develop

fix #356
J_hao104 6 năm trước cách đây
mục cha
commit
108d12edda
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Api/ProxyApi.py

+ 1 - 1
Api/ProxyApi.py

@@ -69,7 +69,7 @@ def refresh():
 @app.route('/get_all/')
 def getAll():
     proxies = ProxyManager().getAll()
-    return [_.info_dict for _ in proxies]
+    return jsonify([_.info_dict for _ in proxies])
 
 
 @app.route('/delete/', methods=['GET'])