Middleware that sets the approot vault key based on request headers. Useful for applications behind reverse proxies. $$\text{approotMiddleware} : \text{String} \to \text{Middleware}$$ The provided function determines the approot from the request.
Equations
- Network.Wai.Middleware.approotMiddleware _getApproot app req respond = app req respond
Instances For
Get the approot from a request, considering X-Forwarded-Proto and Host.
Equations
- One or more equations did not get rendered due to their size.