This commit is contained in:
parent
f161c4b381
commit
da128863c7
|
@ -121,6 +121,7 @@ function rewrite(url, originUrl, frontend, randomInstance) {
|
|||
}
|
||||
return `${randomInstance}${url.pathname}${url.search}`
|
||||
}
|
||||
case "translite":
|
||||
case "simplyTranslate":
|
||||
return `${randomInstance}/${url.search}`
|
||||
case "send":
|
||||
|
@ -773,6 +774,7 @@ const defaultInstances = {
|
|||
quetre: ["https://quetre.iket.me"],
|
||||
libremdb: ["https://libremdb.iket.me"],
|
||||
simplyTranslate: ["https://simplytranslate.org"],
|
||||
translite: ["https://tl.bloat.cat"],
|
||||
mozhi: ["https://mozhi.aryak.me"],
|
||||
searxng: ["https://search.bus-hit.me"],
|
||||
"4get": ["https://4get.ca"],
|
||||
|
|
|
@ -1114,6 +1114,11 @@
|
|||
"name": "LibreTranslate",
|
||||
"instanceList": true,
|
||||
"url": "https://github.com/LibreTranslate/LibreTranslate"
|
||||
},
|
||||
"translite": {
|
||||
"name": "Translite",
|
||||
"instanceList": true,
|
||||
"url": "https://codeberg.org/gospodin/translite"
|
||||
}
|
||||
},
|
||||
"targets": [
|
||||
|
|
Loading…
Reference in New Issue