Skip to content

Commit 3cc49fc

Browse files
authored
Merge pull request #8 from SirBisgaard/patch-1
Fixes login problem with IE11
2 parents b3ff84d + e747dba commit 3cc49fc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/abpHttp.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,10 @@ export class AbpHttp extends Http {
271271
if (!options.headers) {
272272
options.headers = new Headers();
273273
}
274+
275+
options.headers.append("Pragma","no-cache");
276+
options.headers.append("Cache-Control","no-cache");
277+
options.headers.append("If-Modified-Since", "Wed, 21 Oct 2020 07:28:00 GMT");
274278

275279
this.addXRequestedWithHeader(options);
276280
this.addAuthorizationHeaders(options);
@@ -329,4 +333,4 @@ export class AbpHttp extends Http {
329333

330334
return false;
331335
}
332-
}
336+
}

0 commit comments

Comments
 (0)