mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-08 02:52:07 +08:00
chore: replace update URL
This commit is contained in:
@@ -100,8 +100,7 @@ async function resolveUpdater() {
|
||||
|
||||
Object.entries(updateDataNew.platforms).forEach(([key, value]) => {
|
||||
if (value.url) {
|
||||
updateDataNew.platforms[key].url =
|
||||
'https://download.clashverge.dev/' + value.url
|
||||
updateDataNew.platforms[key].url = 'https://update.hwdns.net/' + value.url
|
||||
} else {
|
||||
console.log(`[Error]: updateDataNew.platforms.${key} is null`)
|
||||
}
|
||||
|
||||
+1
-1
@@ -204,7 +204,7 @@ async function processRelease(github, options, tag, isAlpha) {
|
||||
Object.entries(updateDataNew.platforms).forEach(([key, value]) => {
|
||||
if (value.url) {
|
||||
updateDataNew.platforms[key].url =
|
||||
'https://download.clashverge.dev/' + value.url
|
||||
'https://update.hwdns.net/' + value.url
|
||||
} else {
|
||||
console.log(`[Error]: updateDataNew.platforms.${key} is null`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user