mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
ie ajax cache workaround
This commit is contained in:
@@ -12,8 +12,13 @@ app.config([
|
||||
'$translateProvider',
|
||||
function($routeProvider, $stateProvider, $urlRouterProvider, $httpProvider, $compileProvider, cfpLoadingBarProvider,
|
||||
$translateProvider) {
|
||||
|
||||
// ie ajax cache workaround
|
||||
if (!$httpProvider.defaults.headers.get) {
|
||||
$httpProvider.defaults.headers.get = {};
|
||||
}
|
||||
$httpProvider.defaults.headers.get['If-Modified-Since'] = '0';
|
||||
|
||||
// $translateProvider.useLocalStorage();
|
||||
$translateProvider.useStaticFilesLoader({
|
||||
prefix : 'i18n/',
|
||||
suffix : '.js'
|
||||
|
||||
Reference in New Issue
Block a user