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

@ -1,6 +1,7 @@
# Instances of TXTDot proxies
- <https://txt.dc09.ru> ![version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=version&label=version) ![protocol](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=protocol&label=protocol) ![searx](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=third_party.searx_url&label=searx) ![webder](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=third_party.webder_url&label=webder) ![image compression](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=proxy.img_compress&label=image%20compression)
- <https://txt.bloat.cat> ![search](https://img.shields.io/badge/search-enabled-blue) ![protocol](https://img.shields.io/badge/protocol-https-blue)
- <https://txt.clovius.club> ![search](https://img.shields.io/badge/search-enabled-blue) ![protocol](https://img.shields.io/badge/protocol-https-blue)
- <https://txtd.lumaeris.com/> ![protocol](https://img.shields.io/badge/protocol-https-blue)
- <https://txt.bloat.cat> (unsupported configuration version)
- <https://txt.clovius.club> (unsupported configuration version)
- <https://txtd.lumaeris.com/> ![version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2F%2Fconfiguration%2Fjson&query=version&label=version) ![protocol](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2F%2Fconfiguration%2Fjson&query=protocol&label=protocol) ![searx](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2F%2Fconfiguration%2Fjson&query=third_party.searx_url&label=searx) ![webder](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2F%2Fconfiguration%2Fjson&query=third_party.webder_url&label=webder) ![image compression](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2F%2Fconfiguration%2Fjson&query=proxy.img_compress&label=image%20compression)

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")
}`;
}
})
)

View file

@ -1,18 +1,6 @@
[
"https://txt.dc09.ru",
{
"baseUrl": "https://txt.bloat.cat",
"HTTPS": true,
"search": true
},
{
"baseUrl": "https://txt.clovius.club",
"HTTPS": true,
"search": true
},
{
"baseUrl": "https://txtd.lumaeris.com/",
"HTTPS": true,
"search": false
}
"https://txt.bloat.cat",
"https://txt.clovius.club",
"https://txtd.lumaeris.com/"
]