From 032fe823e5991c57524a0e26258b879c84dfeaca Mon Sep 17 00:00:00 2001 From: Mohamed Elzeni Date: Sat, 16 Nov 2024 13:14:43 +0300 Subject: [PATCH] Update translator URL --- src/translate/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/translate/index.js b/src/translate/index.js index 2f35f931c0..82dc92d533 100644 --- a/src/translate/index.js +++ b/src/translate/index.js @@ -3,8 +3,7 @@ const translatorApi = module.exports; translatorApi.translate = async function (postData) { - // Edit the translator URL below - const TRANSLATOR_API = 'https://nodebb-f24-translator.azurewebsites.net/'; + const TRANSLATOR_API = 'https://translation-service-logic-lords.azurewebsites.net'; const response = await fetch(`${TRANSLATOR_API}/?content=${postData.content}`); const data = await response.json(); return [data.is_english, data.translated_content];