mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-15 02:57:51 +01:00
Fix reverse proxies breaking admin translations
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
(function (factory) {
|
||||
'use strict';
|
||||
function loadClient(language, namespace) {
|
||||
return Promise.resolve(jQuery.getJSON(config.relative_path + '/api/language/' + language + '/' + encodeURIComponent(namespace)));
|
||||
return Promise.resolve(jQuery.getJSON(config.relative_path + '/api/language/' + language + '/' + namespace));
|
||||
}
|
||||
var warn = function () {};
|
||||
if (typeof config === 'object' && config.environment === 'development') {
|
||||
|
||||
Reference in New Issue
Block a user