Created
August 28, 2010 19:12
-
-
Save bobo/555465 to your computer and use it in GitHub Desktop.
This file contains 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
(ns SimpleTasks.core | |
(:use compojure.core,hiccup.core, ring.adapter.jetty)) | |
(defn display [] | |
(html [:h1 "hello!"])) | |
(defroutes myroutes | |
(GET "/" [] (display))) | |
(defonce server (run-jetty #'myroutes | |
{:join? false | |
:port 8080})) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment