mirror of
https://github.com/TxtDot/instances.git
synced 2025-03-13 05:14:44 +03:00
remove instances json old format
This commit is contained in:
parent
78572fbe99
commit
3d23107865
3 changed files with 8 additions and 27 deletions
10
index.js
10
index.js
|
@ -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")
|
||||
}`;
|
||||
}
|
||||
})
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue