From 9cd3672083e6512107354330e26741336b330783 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Mon, 9 Apr 2012 21:36:44 +0200 Subject: Fix startup. --- src/mulk/benki/main.clj | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') 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)) -- cgit v1.2.3