소스 검색

add host='0.0.0.0' into run

weichen 4 년 전
부모
커밋
4e79171d3a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      run.py

+ 1 - 1
run.py

@@ -9,4 +9,4 @@ if __name__ == '__main__':
     logging.basicConfig(
         level=logging.INFO,
         format='%(asctime)s %(levelname)s %(message)s')
-    app.run(debug=True, port=5000)
+    app.run(host='0.0.0.0', debug=True, port=5000)