Function: removeAllTrailingSlashes
EcomConfig.removeAllTrailingSlashes
▸ removeAllTrailingSlashes(url
): string
Removes all trailing slashes of provided url string.
Parameters
Name | Type | Description |
---|---|---|
url |
string |
URL to sanitize by removing all trailing slashes. |
Returns
string
Last update:
October 22, 2024