url.ts#
1 documented symbol. Read the signatures first, then expand each item for parameters, return types, and examples.
1
symbols
1
functions
1
parameters
1
returns
Reference#
fnnormalizeOgpUrl(url: string): stringNormalize a URL for cache keys: lowercase host, drop default ports and fragment…
Normalize a URL for cache keys: lowercase host, drop default ports and fragments, and strip a trailing slash that is not the root path.
Signature
export function normalizeOgpUrl(url: string): stringParameters
-
urlstring
Returns
string