mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 19:05:55 +02:00
fix: replaces only the first occurrence of '&'
This commit is contained in:
parent
4f25a0c670
commit
18b36e6ef9
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ function urlJoin(...args: string[]) {
|
|||
.replace(/^file:/, 'file:/')
|
||||
.replace(/\/(\?|&|#[^!])/g, '$1')
|
||||
.replace(/\?/g, '&')
|
||||
.replace('&', '?')
|
||||
.replaceAll('&', '?')
|
||||
}
|
||||
|
||||
function fromNow(t: string) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue