Pre Merge pull request !48 from candicandi/dev
This commit is contained in:
commit
9e2f0eb2c3
@ -129,6 +129,7 @@ function createRequestClient(baseURL: string) {
|
||||
typeof config.data === 'object'
|
||||
? encryptWithAes(JSON.stringify(config.data), aesKey)
|
||||
: encryptWithAes(config.data, aesKey);
|
||||
config.headers['Content-Type'] = 'text/plain';
|
||||
}
|
||||
return config;
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user