Skip to content

Instantly share code, notes, and snippets.

@jrosti
Created March 14, 2014 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrosti/9551391 to your computer and use it in GitHub Desktop.
Save jrosti/9551391 to your computer and use it in GitHub Desktop.
;;project.clj
:ring {:handler ontrail.core/app}
;; core.clj
(def ring-handler
(-> app-routes
handler/site
wrap-dir-index
ring-head/wrap-head
aleph/wrap-ring-handler))
(def app (aleph/wrap-aleph-handler ring-handler))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment