@mtgame/core 0.0.65 → 0.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/mtgame-core.umd.js +3 -1
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +1 -1
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/http-cookie.interceptor.js +4 -2
- package/esm5/http-cookie.interceptor.js +4 -2
- package/fesm2015/mtgame-core.js +3 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +3 -1
- package/fesm5/mtgame-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -8013,7 +8013,9 @@
|
|
|
8013
8013
|
if (!this.isBrowser) {
|
|
8014
8014
|
return next.handle(req);
|
|
8015
8015
|
}
|
|
8016
|
-
|
|
8016
|
+
if (req.withCredentials !== false) {
|
|
8017
|
+
req = req.clone({ withCredentials: true });
|
|
8018
|
+
}
|
|
8017
8019
|
var csrf = getCookie('csrftoken');
|
|
8018
8020
|
if (csrf) {
|
|
8019
8021
|
req = req.clone({
|