1
0
Fork 0
mirror of synced 2024-08-19 03:51:29 +12:00

Only add space for forward slash

This commit is contained in:
Mel O'Hagan 2022-12-09 10:16:17 +00:00
parent bff7365bd2
commit cd8e7f1ad1

View file

@ -120,9 +120,9 @@
query.flags.urlName = true
query.name =
url
?.replaceAll(/(http)|(https)/g, "")
?.replace(/(http)|(https)|[{}:]/g, "")
?.replaceAll(".", "_")
?.replace(/[:/{}]/g, " ")
?.replaceAll("/", " ")
?.trim() || inputUrl
}
}