Skip to main content
← rust.krizaka.comkrizaka.com

normalize_origin

Function normalize_origin 

Source
pub fn normalize_origin(input: &str) -> Result<String, OriginError>
Expand description

A hosted app must be HTTPS (plain http only for a loopback address), carry no credentials in its URL, and is reduced to its origin.