mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 10:56:12 +03:00
fix
This commit is contained in:
+5
-1
@@ -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) {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user