Skip to content

Commit 3b468f5

Browse files
author
Igor Melnikov
committed
MAGETWO-44975: Incorrect messgae on success page after extension installation
Refactoring
1 parent 453a0a8 commit 3b468f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup/pub/magento/setup/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ app.config(['$httpProvider', '$stateProvider', function ($httpProvider, $statePr
3535
if (!$httpProvider.defaults.headers.get) {
3636
$httpProvider.defaults.headers.get = {};
3737
}
38-
$httpProvider.defaults.headers.get['If-Modified-Since'] = 'Mon, 26 Jul 1997 05:00:00 GMT';
39-
$httpProvider.defaults.headers.get['Cache-Control'] = 'no-cache';
38+
$httpProvider.defaults.headers.get['Cache-Control'] = 'no-cache, no-store, must-revalidate';
4039
$httpProvider.defaults.headers.get['Pragma'] = 'no-cache';
40+
$httpProvider.defaults.headers.get['Expires'] = 0;
4141
app.stateProvider = $stateProvider;
4242
}])
4343
.config(function($provide) {

0 commit comments

Comments
 (0)