export function isRelative(url: string) { return !new RegExp("^(?:[a-z]+:)?//", "i").test(url) }