Permalink
Browse files

Only use compojure 'site' for dynamic route; it's got cookies and stuff

  • Loading branch information...
amalloy committed Sep 30, 2011
1 parent 6f20d46 commit bf7e1f9d72640ac868c114a39ba447fdec0ecff5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/foreclojure/core.clj
View
@@ -48,6 +48,7 @@
identity))
session/wrap-stateful-session
wrap-uri-binding
+ handler/site
wrap-strip-trailing-slash))
(let [canonical-host (or config/dynamic-host "www.4clojure.com")]
@@ -74,7 +75,6 @@
(def app (-> (split-hosts host-handlers)
wrap-404
- handler/site
wrap-gzip))
(defn register-heartbeat []

0 comments on commit bf7e1f9

Please sign in to comment.