Created
April 29, 2016 22:31
-
-
Save shanemhansen/2b16db987ae9efb658f413247982d181 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use 'ring.adapter.jetty) | |
; => nil | |
(defn app-handler [request] | |
{:status 200 | |
:headers {"Content-Type" "text/html"} | |
:body "Hello from Ring"}) | |
; => #'user/app-handler | |
(run-jetty app-handler {:port 3000}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment