mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
feat(app): remove charset from content-type of post/put/patch (#1791)
This commit is contained in:
parent
fe74f36f62
commit
afa3fd9a47
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ angular.module('portainer')
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
$httpProvider.interceptors.push('jwtInterceptor');
|
$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.setAccount('@@CONFIG_GA_ID');
|
||||||
AnalyticsProvider.startOffline(true);
|
AnalyticsProvider.startOffline(true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue