fix: Do not escape @ in generated URLs

This commit is contained in:
Marcel Hellkamp 2023-07-16 18:45:54 +02:00
parent 61af1d552c
commit 6c72830545

View File

@ -38,7 +38,7 @@ export function toQuery(config: Config): string {
if (config.theme !== defaults.theme) params.set("theme", config.theme) if (config.theme !== defaults.theme) params.set("theme", config.theme)
if (config.info !== defaults.info) params.set("info", config.info) if (config.info !== defaults.info) params.set("info", config.info)
if (config.server !== defaults.server) params.set("server", config.server) if (config.server !== defaults.server) params.set("server", config.server)
return params.toString().replace(/%2C/g, ',') return params.toString().replace(/%2C/g, ',').replace(/%40/g, '@')
} }
function isTag(tag: string) { function isTag(tag: string) {