diff options
Diffstat (limited to 'src')
-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)) |