-
-
Save deadghost/bee98e65d29bf242c7428d880680470d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(web/run | |
(::http/servlet | |
(-> {::http/routes routes | |
::http/join? true | |
::http/router :linear-search | |
::http/interceptors [intc/coerce-body | |
intc/content-negotiate | |
http/log-request | |
http/not-found | |
mw/content-type | |
proute/query-params | |
proute/path-params-decoder | |
proute/method-param ; might not need this | |
secure-headers | |
proute/router | |
mw/cookies]} | |
(http/create-servlet))) | |
{:host "localhost" | |
:port 1232 | |
:path "/api/v0" | |
:virtual-host ["localhost"]}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment