mirror of
https://github.com/bitwarden/web
synced 2025-12-10 05:13:40 +00:00
IE fixes and crypto shims
This commit is contained in:
@@ -55,6 +55,12 @@ angular
|
||||
|
||||
$httpProvider.defaults.headers.post['Content-Type'] = 'text/plain; charset=utf-8';
|
||||
|
||||
if (!$httpProvider.defaults.headers.get) {
|
||||
$httpProvider.defaults.headers.get = {};
|
||||
}
|
||||
$httpProvider.defaults.headers.get['Cache-Control'] = 'no-cache';
|
||||
$httpProvider.defaults.headers.get['Pragma'] = 'no-cache';
|
||||
|
||||
$httpProvider.interceptors.push('apiInterceptor');
|
||||
$httpProvider.interceptors.push('jwtInterceptor');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user