diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-04-09 21:36:44 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-04-09 21:36:44 +0200 |
commit | 9cd3672083e6512107354330e26741336b330783 (patch) | |
tree | abc533f8ee529108be9b6e0e176224d7e52d0b93 | |
parent | e6d4817340ec82a05e5c2b288b4e652d9f2ba2f1 (diff) |
Fix startup.
-rw-r--r-- | src/mulk/benki/main.clj | 7 |
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)) |