Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit bf7e1f9d72640ac868c114a39ba447fdec0ecff5 1 parent 6f20d46
@amalloy amalloy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/foreclojure/core.clj
View
2  src/foreclojure/core.clj
@@ -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 []
Please sign in to comment.
Something went wrong with that request. Please try again.