ソースを参照

changed localhost to 0.0.0.0

Keith Newman 10 年 前
コミット
b09b037fac
1 ファイル変更1 行追加1 行削除
  1. 1 1
      frameworks/Python/klein/app.py

+ 1 - 1
frameworks/Python/klein/app.py

@@ -120,4 +120,4 @@ def fortune(request):
 	return template.render(fortunes=fortunes)
 	return template.render(fortunes=fortunes)
 
 
 if __name__ == "__main__":
 if __name__ == "__main__":
-    app.run("localhost", 8080)
+    app.run("0.0.0.0", 8080)