diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js index 49acdba..8deadf7 100644 --- a/src/assets/javascripts/services.js +++ b/src/assets/javascripts/services.js @@ -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"], diff --git a/src/config.json b/src/config.json index d10adec..fbed322 100644 --- a/src/config.json +++ b/src/config.json @@ -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": [