remove instances json old format

This commit is contained in:
Artemy Egorov 2024-08-02 17:41:47 +03:00
parent 78572fbe99
commit 3d23107865
3 changed files with 8 additions and 27 deletions

View file

@ -41,16 +41,8 @@ async function run() {
"proxy.img_compress"
)}`;
} catch {
return `- <${instance}>`;
return `- <${instance}> (unsupported configuration version)`;
}
} else {
return `- <${instance.baseUrl}> ${
instance.search ? static("search", "enabled") : ""
} ${
instance.HTTPS
? static("protocol", "https")
: static("protocol", "http")
}`;
}
})
)