Function kvarn_extensions::reverse_proxy::url_rewrite::absolute
source · pub fn absolute(body: &[u8], prefix: &str) -> BytesMut
Available on crate feature
reverse-proxy
only.Expand description
Appends prefix
to all absolute URL occurrences, to point the new page to the public endpoint.