Browse Source

Merge pull request #3051 from michaelhixson/fix-macchiato-host

Don't restrict macchiato requests to localhost by default
Mike Smith 7 years ago
parent
commit
671aa000b2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frameworks/Clojure/macchiato/hello/src/hello/core.cljs

+ 1 - 1
frameworks/Clojure/macchiato/hello/src/hello/core.cljs

@@ -10,7 +10,7 @@
 
 (defn app []
   (mount/start)
-  (let [host (or (:host @env) "127.0.0.1")
+  (let [host (or (:host @env) "0.0.0.0")
         port (or (some-> @env :port js/parseInt) 3000)]
     (http/start
       {:handler    (wrap-defaults router)