Normalize a URL by removing trailing slashes
The URL to normalize
The URL without trailing slashes
normalizeUrl('https://api.example.com///')// Returns: 'https://api.example.com' Copy
normalizeUrl('https://api.example.com///')// Returns: 'https://api.example.com'
Normalize a URL by removing trailing slashes