Skip to content

Instantly share code, notes, and snippets.

@rwillig
Created March 11, 2015 19:43
Show Gist options
  • Save rwillig/0a19dd0bcabfc728273f to your computer and use it in GitHub Desktop.
Save rwillig/0a19dd0bcabfc728273f to your computer and use it in GitHub Desktop.
(def app
(->
(castra 'server.api)
(wrap-session {:store (cookie-store {:key "a 16-byte secret"})})
(wrap-resource )
(wrap-file )
(wrap-index-paths "/index.html")
(wrap-file-info)
(wrap-cors #".*")
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment