Skip to content

Commit

Permalink
Update translator service URL
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-elzeni committed Nov 17, 2024
1 parent b417b40 commit 80d5af4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/translate/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
const translatorApi = module.exports;

translatorApi.translate = async function (postData) {
// 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();
Expand Down

0 comments on commit 80d5af4

Please sign in to comment.