Function removeUrlProtocol()
removeUrlProtocol(
url:string):string
Source: url.utils.ts
Removes the URL protocol from a URL string.
Parameters
url
string
The URL string.
Returns
string
The URL string without its protocol.
Example
ts
removeUrlProtocol("https://example.com/foo/bar") === "example.com/foo/bar"