Skip to content

Commit

Permalink
add port argument to run-local, default port 8080
Browse files Browse the repository at this point in the history
  • Loading branch information
deduktion committed Aug 17, 2011
1 parent 2a43cc8 commit 9c71fe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clj_hh/local.clj
Expand Up @@ -3,5 +3,5 @@
[clj-hh.core :as core]))

(defn run-local
[]
(ae/serve core/clj-hh-app))
[ & {:keys [port] :or {port 8080}}]
(ae/serve core/clj-hh-app :port port))

0 comments on commit 9c71fe1

Please sign in to comment.