hiccup.middleware
Ring middleware functions for Hiccup.
wrap-base-url
(wrap-base-url handler)
(wrap-base-url handler base-url)
Ring middleware that wraps the handler in the with-base-url function. The base URL may be specified as an argument. Otherwise, the :context
key on the request map is used.