Browse Source

开放所有端口

tuoling805 1 năm trước cách đây
mục cha
commit
10682cb0d0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      wind_api.py

+ 1 - 1
wind_api.py

@@ -124,4 +124,4 @@ if __name__ == "__main__":
         print("启动万得API接口失败")
     print(wStart)
     app = __hug__.http.server()
-    run(app=app, reloader=True, port=7000)
+    run(app=app, reloader=True,host='0.0.0.0', port=7000)