Browse Source

新增host

hongze 9 months ago
parent
commit
e84d7771c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ths_api.py

+ 1 - 1
ths_api.py

@@ -149,4 +149,4 @@ if __name__ == "__main__":
     # ths登录函数
     thslogin()
     app = __hug__.http.server()
-    run(app=app, reloader=True, port=7000)
+    run(app=app, reloader=True,host='0.0.0.0', port=7000)