Mercurial > laserkard
diff server.clj @ 71:ad52bd1a084b laserkard
Now there is no HTML whatsoever\!
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 22 Jun 2010 22:42:11 -0400 |
parents | 751fb9fd445b |
children | 874a6a2c28cf |
line wrap: on
line diff
1.1 --- a/server.clj Tue Jun 22 20:15:19 2010 -0400 1.2 +++ b/server.clj Tue Jun 22 22:42:11 2010 -0400 1.3 @@ -1,10 +1,17 @@ 1.4 (ns laserkard.server 1.5 (:use (compojure.http request servlet session routes) 1.6 (compojure.server jetty) 1.7 - (compojure control))) 1.8 + (compojure control) 1.9 + (laserkard buy-temp) 1.10 + 1.11 +)) 1.12 1.13 (defroutes example 1.14 - (GET "/index.clj" [] "<h1> hello, connie, good to meet you</h1>")) 1.15 + (GET "/index.clj" [] "<h1> hello, connie, good to meet you</h1>") 1.16 + (GET "/buy-temp.clj" [] (buy-gen)) 1.17 +) 1.18 + 1.19 + 1.20 1.21 (defserver laserkard-server 1.22 {:port 9000 :host "localhost"}