# HG changeset patch # User Robert McIntyre # Date 1277228250 14400 # Node ID dd97a10c782eb44328a9f6f3740c6c55f2b5a338 # Parent 098a3d3ccc4c871d4ea5fa16463be86e0e7e95b4 Added access.log and error.log to switch to lighttpd. diff -r 098a3d3ccc4c -r dd97a10c782e server.clj --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/server.clj Tue Jun 22 13:37:30 2010 -0400 @@ -0,0 +1,15 @@ +(ns laserkard.server + (:use compojure.core + ring.adapter.jetty) + (:require [compojure.route :as route])) + +(defroutes example + (GET "/index.clj" [] "

Hello World Wide Web!

") + (route/not-found "Page not found")) + +(defn serve [] + (run-jetty example {:port 9000})) + + + +