summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-04-09 21:36:44 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-04-09 21:36:44 +0200
commit9cd3672083e6512107354330e26741336b330783 (patch)
treeabc533f8ee529108be9b6e0e176224d7e52d0b93 /src
parente6d4817340ec82a05e5c2b288b4e652d9f2ba2f1 (diff)
Fix startup.
Diffstat (limited to 'src')
-rw-r--r--src/mulk/benki/main.clj7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mulk/benki/main.clj b/src/mulk/benki/main.clj
index 753f253..b87d5bd 100644
--- a/src/mulk/benki/main.clj
+++ b/src/mulk/benki/main.clj
@@ -87,10 +87,9 @@
(defn run-server []
(let [mode (or (:mode @benki-config) :production)
noir-handler (noir.server/gen-handler {:mode mode})]
- (reset! server
- (ahttp/start-http-server (ahttp/wrap-ring-handler noir-handler)
- {:port (:web-port @benki-config)
- :websocket true}))))
+ (ahttp/start-http-server (ahttp/wrap-ring-handler noir-handler)
+ {:port (:web-port @benki-config)
+ :websocket true})))
(defonce server
(run-server))