feat(app): remove charset from content-type of post/put/patch (#1791)
parent
fe74f36f62
commit
afa3fd9a47
|
@ -20,6 +20,9 @@ angular.module('portainer')
|
|||
}]
|
||||
});
|
||||
$httpProvider.interceptors.push('jwtInterceptor');
|
||||
$httpProvider.defaults.headers.post['Content-Type'] = 'application/json';
|
||||
$httpProvider.defaults.headers.put['Content-Type'] = 'application/json';
|
||||
$httpProvider.defaults.headers.patch['Content-Type'] = 'application/json';
|
||||
|
||||
AnalyticsProvider.setAccount('@@CONFIG_GA_ID');
|
||||
AnalyticsProvider.startOffline(true);
|
||||
|
|
Loading…
Reference in New Issue