(defn -main [& _] (future (p/local-proxy-server 7000 “https://test.gomio.com” {:insecure? true})) (Thread/sleep 5000) (let [port (Integer/parseInt (or (System/getenv “PORT”) “3000”))] (-> (castra ‘hostelrocket.rpc) (wrap-session {:store (cookie-store {:key “a 16-byte secret”})}) (wrap-file “resources/public”) (wrap-file-info) (run-jetty {:port port}))))
Created
June 2, 2014 15:04
-
-
Save donmullen/9f65e4afe151b29ea24e to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment