소스 검색

Don't restrict reitit HTTP requests to localhost (#3119)

Without this, the reitit tests fail in the multi-machine benchmark setup,
since the wrk client runs on a different machine than the application
server.
Michael Hixson 7 년 전
부모
커밋
5b46af6a26
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      frameworks/Clojure/reitit/hello/src/hello/handler.clj

+ 1 - 1
frameworks/Clojure/reitit/hello/src/hello/handler.clj

@@ -30,4 +30,4 @@
       (println banner)
       (println banner)
       (System/exit 0))
       (System/exit 0))
 
 
-    (web/run app {:host "localhost" :port port})))
+    (web/run app {:host "0.0.0.0" :port port})))