mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 23:27:09 +00:00
Re-add custom page_view event
This commit is contained in:
@@ -64,7 +64,7 @@ export function hashString(s: string) {
|
||||
}
|
||||
|
||||
export function cleanUrl(url: string) {
|
||||
return `/${url}/`.replaceAll('//', '/')
|
||||
return `/${url}/`.replaceAll(/\/\/+/g, '/')
|
||||
}
|
||||
|
||||
export function getPath(url: string) {
|
||||
|
||||
Reference in New Issue
Block a user