Browse Source

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 years ago
parent
commit
5b46af6a26
1 changed files with 1 additions and 1 deletions
  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)
       (System/exit 0))
 
-    (web/run app {:host "localhost" :port port})))
+    (web/run app {:host "0.0.0.0" :port port})))