mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 00:45:47 +01:00
use cache-buster in translator instead of timestamp
This commit is contained in:
@@ -199,8 +199,8 @@
|
||||
}
|
||||
|
||||
function loadClient(language, filename, callback) {
|
||||
var timestamp = new Date().getTime();
|
||||
$.getJSON(config.relative_path + '/language/' + language + '/' + filename + '.json?v=' + timestamp, callback);
|
||||
console.log(config['cache-buster']);
|
||||
$.getJSON(config.relative_path + '/language/' + language + '/' + filename + '.json?v=' + config['cache-buster'], callback);
|
||||
}
|
||||
|
||||
function loadServer(language, filename, callback) {
|
||||
|
||||
Reference in New Issue
Block a user