fix: dont load disk cache in check rewrite
This commit is contained in:
+2
-2
@@ -235,9 +235,9 @@ function install()
|
|||||||
url += location.pathname;
|
url += location.pathname;
|
||||||
if (url.substr(-1)!="/") url += "/";
|
if (url.substr(-1)!="/") url += "/";
|
||||||
url += "app.json";
|
url += "app.json";
|
||||||
//alert(url);
|
url += "?" + Date.now();
|
||||||
var xhr4 = new XMLHttpRequest();
|
var xhr4 = new XMLHttpRequest();
|
||||||
xhr4.open("POST", url);
|
xhr4.open("GET", url);
|
||||||
xhr4.setRequestHeader("x-requested-with","XMLHttpRequest");
|
xhr4.setRequestHeader("x-requested-with","XMLHttpRequest");
|
||||||
xhr4.send(null);
|
xhr4.send(null);
|
||||||
xhr4.onload = function(e){
|
xhr4.onload = function(e){
|
||||||
|
|||||||
Reference in New Issue
Block a user