Skip to content

Commit 3021c92

Browse files
committed
Merge pull request #157 from paxtonhare/156_cached_http_ie
fixed #156 -cached in ie
2 parents 066d5e9 + 3666c4e commit 3021c92

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

quick-start/src/main/resources/static/app/quickStartApp.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@
7474
return responseData;
7575
});
7676

77+
if (!$httpProvider.defaults.headers.get) {
78+
$httpProvider.defaults.headers.get = {};
79+
}
80+
81+
$httpProvider.defaults.headers.get['Cache-Control'] = 'no-cache';
82+
$httpProvider.defaults.headers.get.Pragma = 'no-cache';
83+
7784
$routeProvider
7885
.when('/login', {
7986
templateUrl: 'login/login.html',

0 commit comments

Comments
 (0)