pub fn validate_origin(raw: &str) -> AppResult<AllowedOrigin>Expand description
Parse an allowlisted origin (compat wrapper over AllowedOrigin::parse).
Prefer AllowedOrigin at call sites so the type carries the allowlist proof.
ยงErrors
Propagates crate::error::ErrorKind::Config from AllowedOrigin::parse.