parent
4b88134f06
commit
9e0d8986a2
@ -0,0 +1,9 @@
|
|||||||
|
(ns wanijo.main
|
||||||
|
(:require [ring.adapter.jetty :refer [run-jetty]]
|
||||||
|
[wanijo.handler :as wanijo])
|
||||||
|
(:gen-class))
|
||||||
|
|
||||||
|
(defn -main [& args]
|
||||||
|
(run-jetty wanijo/app
|
||||||
|
{:port (Integer/valueOf (or (System/getenv "port")
|
||||||
|
"3080"))}))
|
Loading…
Reference in new issue