Back

wrap-base-url (clj)

(source)

function

(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.

Examples