Permalink
Browse files

Fix default vhost.

  • Loading branch information...
1 parent 69902d9 commit d08b57885e24123d937b727ea7c58441b549c9da @technomancy committed May 29, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/die/roboter.clj
View
@@ -216,7 +216,8 @@
;; workaround for https://github.com/mefesto/wabbitmq/pull/7
:virtual-host (if-let [uri (System/getenv "RABBITMQ_URL")]
(->> (.getPath (java.net.URI. uri))
- (re-find #"/?(.*)") (second)))}
+ (re-find #"/?(.*)") (second))
+ "/")}
(walk/keywordize-keys opts))]
(println "Starting" (:workers opts) "workers.")
(.setLevel (LogManager/getLogger "die.roboter")

0 comments on commit d08b578

Please sign in to comment.