This commit is contained in:
2024-07-02 10:47:56 +03:00
parent 62cfeeb956
commit ff1605f7b6
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -515,7 +515,11 @@ kit.config = kit.config || {};
self.config.debug && console.log(`Plugin ${self.id}: httpGet ${url}`);
var xhr = new XMLHttpRequest();
xhr.open('GET', url, true);
var url2 = url;
if(self.config.isSetTimestamp){
url2 = getUrlWithTimestamp(url);
}
xhr.open('GET', url2, true);
xhr.onload = function() {
if (this.status == 200) {
+1 -1
View File
File diff suppressed because one or more lines are too long