summaryrefslogtreecommitdiff
path: root/src/ruuter/core.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/ruuter/core.clj')
-rw-r--r--src/ruuter/core.clj3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ruuter/core.clj b/src/ruuter/core.clj
index 1cf96cb..b441b1f 100644
--- a/src/ruuter/core.clj
+++ b/src/ruuter/core.clj
@@ -94,9 +94,10 @@
(defn route!
"Starts an HTTP server which will then try to find a matching route for
each request from within the given collection of `routes`. Takes an
- optional `opts` map, which corresponds directly to HTTP-Kit's config,
+ optional `opts` map, which corresponds directly to http-kit's config,
allowing you to specify things like `{:port 8080}` and so on."
([routes]
(route! routes {:port 9600}))
([routes opts]
+ (println "Starting HTTP server on port " (:port opts))
(http/run-server #(router routes %) opts))) \ No newline at end of file