Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix default vhost.

  • Loading branch information...
commit d08b57885e24123d937b727ea7c58441b549c9da 1 parent 69902d9
@technomancy authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/die/roboter.clj
View
3  src/die/roboter.clj
@@ -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")
Please sign in to comment.
Something went wrong with that request. Please try again.