diff --git a/src/translate/index.js b/src/translate/index.js index 259cdd3222..cd3d65a1ee 100644 --- a/src/translate/index.js +++ b/src/translate/index.js @@ -5,7 +5,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://nodebb-f24-translator.azurewebsites.net" const response = await fetch(TRANSLATOR_API + '/?content=' + postData.content); const data = await response.json(); return [data["is_english"], data["translated_content"]]