mirror of
https://github.com/TxtDot/instances.git
synced 2024-11-23 13:26:22 +03:00
feat: search param
This commit is contained in:
parent
4b93e55c56
commit
7c665816a4
3 changed files with 16 additions and 11 deletions
10
README.md
10
README.md
|
@ -2,8 +2,8 @@
|
|||
|
||||
Instances of TXTDot proxies
|
||||
|
||||
| Name | Base URL | HTTPS |
|
||||
| ------------------------------------- | -------------------------- | ----- |
|
||||
| Official TXTDot instance | <https://txt.dc09.ru> | true |
|
||||
| Official TXTDot instance by artegoser | <https://txt.artegoser.ru> | true |
|
||||
| Instance by bloatcat | <https://txt.bloat.cat> | true |
|
||||
| Name | Base URL | Search | Connection |
|
||||
| ------------------------------------- | -------------------------- | ------- | ---------- |
|
||||
| Official TXTDot instance | <https://txt.dc09.ru> | | https |
|
||||
| Official TXTDot instance by artegoser | <https://txt.artegoser.ru> | enabled | https |
|
||||
| Instance by bloatcat | <https://txt.bloat.cat> | | https |
|
||||
|
|
8
index.js
8
index.js
|
@ -8,12 +8,14 @@ fs.writeFileSync(
|
|||
|
||||
Instances of TXTDot proxies
|
||||
|
||||
| Name | Base URL | HTTPS |
|
||||
| ---- | -------- | ------ |
|
||||
| Name | Base URL | Search | Connection |
|
||||
| ---- | -------- | ------ | ---------- |
|
||||
${instances
|
||||
.map(
|
||||
(instance) =>
|
||||
`| ${instance.name} | <${instance.baseUrl}> | ${instance.HTTPS} |`
|
||||
`| ${instance.name} | <${instance.baseUrl}> | ${
|
||||
instance.search ? "enabled" : ""
|
||||
} | ${instance.HTTPS ? "https" : "http"} |`
|
||||
)
|
||||
.join("\n")}
|
||||
`
|
||||
|
|
|
@ -2,16 +2,19 @@
|
|||
{
|
||||
"name": "Official TXTDot instance",
|
||||
"baseUrl": "https://txt.dc09.ru",
|
||||
"HTTPS": true
|
||||
"HTTPS": true,
|
||||
"search": false
|
||||
},
|
||||
{
|
||||
"name": "Official TXTDot instance by artegoser",
|
||||
"baseUrl": "https://txt.artegoser.ru",
|
||||
"HTTPS": true
|
||||
"HTTPS": true,
|
||||
"search": true
|
||||
},
|
||||
{
|
||||
"name": "Instance by bloatcat",
|
||||
"baseUrl": "https://txt.bloat.cat",
|
||||
"HTTPS": true
|
||||
"HTTPS": true,
|
||||
"search": false
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue