mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-07 01:22:15 +08:00
style(updater): use template literal for URL concatenation
This commit is contained in:
+1
-1
@@ -283,7 +283,7 @@ async function processRelease(github, options, tag, isAlpha) {
|
||||
Object.entries(updateDataNew.platforms).forEach(([key, value]) => {
|
||||
if (value.url) {
|
||||
updateDataNew.platforms[key].url =
|
||||
'https://update.hwdns.net/' + value.url
|
||||
`https://update.hwdns.net/${value.url}`
|
||||
} else {
|
||||
console.log(`[Error]: updateDataNew.platforms.${key} is null`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user