Skip to content

Instantly share code, notes, and snippets.

@oitee
Last active October 12, 2022 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oitee/09931c29ceb91622dcacaaaaad2ba24e to your computer and use it in GitHub Desktop.
Save oitee/09931c29ceb91622dcacaaaaad2ba24e to your computer and use it in GitHub Desktop.
(require '[compojure.core :refer [GET]]
'[ring.adapter.jetty :refer [run-jetty]])
(run-jetty
(GET "/" request (str "Hello World! This is your uri: " (:uri
request)))
{:port 8080
:join? false})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment