aboutsummaryrefslogtreecommitdiff
path: root/cljssss-g.clj
diff options
context:
space:
mode:
Diffstat (limited to 'cljssss-g.clj')
-rw-r--r--cljssss-g.clj19
1 files changed, 19 insertions, 0 deletions
diff --git a/cljssss-g.clj b/cljssss-g.clj
new file mode 100644
index 0000000..6987a56
--- /dev/null
+++ b/cljssss-g.clj
@@ -0,0 +1,19 @@
+(ns cljssss-g
+ (require [net.cgrand.enlive-html :as enlive]
+ [clojure.xml :as xml]
+ compojure)
+ (use compojure))
+
+(defservlet cljssss-g
+ (GET "/"
+ (html [:html
+ [:head
+ [:title "Gödel-Gentzen Clojure Syndication Services Super System"]]
+ [:body
+ [:h1 "Gödel-Gentzen Clojure Syndication Services Super System"]
+ [:p "Fnord."]]]))
+ (ANY "*"
+ (page-not-found)))
+
+(run-server {:port 8080}
+ "/*" cljssss-g)