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

same_place

Function same_place 

Source
pub fn same_place(allowed: &str, target: &Url) -> bool
Expand description

The same place: scheme, host and port. Unlike same_origin, it also matches the app’s own local page (tauri://localhost), whose origin the URL standard calls opaque.