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
|
Instances of TXTDot proxies
|
||||||
|
|
||||||
| Name | Base URL | HTTPS |
|
| Name | Base URL | Search | Connection |
|
||||||
| ------------------------------------- | -------------------------- | ----- |
|
| ------------------------------------- | -------------------------- | ------- | ---------- |
|
||||||
| Official TXTDot instance | <https://txt.dc09.ru> | true |
|
| Official TXTDot instance | <https://txt.dc09.ru> | | https |
|
||||||
| Official TXTDot instance by artegoser | <https://txt.artegoser.ru> | true |
|
| Official TXTDot instance by artegoser | <https://txt.artegoser.ru> | enabled | https |
|
||||||
| Instance by bloatcat | <https://txt.bloat.cat> | true |
|
| Instance by bloatcat | <https://txt.bloat.cat> | | https |
|
||||||
|
|
8
index.js
8
index.js
|
@ -8,12 +8,14 @@ fs.writeFileSync(
|
||||||
|
|
||||||
Instances of TXTDot proxies
|
Instances of TXTDot proxies
|
||||||
|
|
||||||
| Name | Base URL | HTTPS |
|
| Name | Base URL | Search | Connection |
|
||||||
| ---- | -------- | ------ |
|
| ---- | -------- | ------ | ---------- |
|
||||||
${instances
|
${instances
|
||||||
.map(
|
.map(
|
||||||
(instance) =>
|
(instance) =>
|
||||||
`| ${instance.name} | <${instance.baseUrl}> | ${instance.HTTPS} |`
|
`| ${instance.name} | <${instance.baseUrl}> | ${
|
||||||
|
instance.search ? "enabled" : ""
|
||||||
|
} | ${instance.HTTPS ? "https" : "http"} |`
|
||||||
)
|
)
|
||||||
.join("\n")}
|
.join("\n")}
|
||||||
`
|
`
|
||||||
|
|
|
@ -2,16 +2,19 @@
|
||||||
{
|
{
|
||||||
"name": "Official TXTDot instance",
|
"name": "Official TXTDot instance",
|
||||||
"baseUrl": "https://txt.dc09.ru",
|
"baseUrl": "https://txt.dc09.ru",
|
||||||
"HTTPS": true
|
"HTTPS": true,
|
||||||
|
"search": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Official TXTDot instance by artegoser",
|
"name": "Official TXTDot instance by artegoser",
|
||||||
"baseUrl": "https://txt.artegoser.ru",
|
"baseUrl": "https://txt.artegoser.ru",
|
||||||
"HTTPS": true
|
"HTTPS": true,
|
||||||
|
"search": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Instance by bloatcat",
|
"name": "Instance by bloatcat",
|
||||||
"baseUrl": "https://txt.bloat.cat",
|
"baseUrl": "https://txt.bloat.cat",
|
||||||
"HTTPS": true
|
"HTTPS": true,
|
||||||
|
"search": false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue