fix: CMS field 'original_url' should not be manipulated, render as-is.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export function removeMultipleSlashes(str: string) {
|
||||
return str.replaceAll(/\/\/+/g, "/")
|
||||
export function removeMultipleSlashes(pathname: string) {
|
||||
return pathname.replaceAll(/\/\/+/g, "/")
|
||||
}
|
||||
|
||||
export function removeTrailingSlash(pathname: string) {
|
||||
|
||||
Reference in New Issue
Block a user