pub fn same_origin(url1: &str, url2: &str) -> bool
Check if two URLs are the same origin.
url1
url2
true if both URLs have the same origin
true