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:
January 9, 2025