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
1 changed files with 2 additions and 2 deletions

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
}
}