Skip to content

Instantly share code, notes, and snippets.

@donmullen
Created June 2, 2014 15:04
Show Gist options
  • Save donmullen/9f65e4afe151b29ea24e to your computer and use it in GitHub Desktop.
Save donmullen/9f65e4afe151b29ea24e to your computer and use it in GitHub Desktop.

(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}))))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment