Skip to content

Commit

Permalink
Use DCS for langnames.json
Browse files Browse the repository at this point in the history
  • Loading branch information
richmahn committed Apr 11, 2024
1 parent 9faf952 commit 402da22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function getLanguageListItems($searchField, callback) {
// var request = {type: 'GET', url: 'https://us.door43.org:9096/?q=' + encodeURIComponent(term)};
var extra = API_prefix ? '-demo' : '';
var request = {type: 'GET',
url: 'https://td.unfoldingword.org/ac/langnames/?q=' + encodeURIComponent(term)
url: 'https://git.door43.org/api/v1/languages/langnames.json?lc=' + encodeURIComponent(term)
};
console.log("GETting " + JSON.stringify(request));
$.ajax(request).done(function (data, responseText, jqXHR) {
Expand Down

0 comments on commit 402da22

Please sign in to comment.