add content type
This commit is contained in:
1 parent
27b2321053
commit
46da57bbf9
1 file changed
+2
-2
@@ -4,9 +4,9 @@ import axios, { AxiosInstance } from 'axios';
|
||||
|
||||
const httpClient: AxiosInstance = axios.create({
|
||||
baseURL: '/api/v1',
|
||||
timeout: 30000,
|
||||
headers: {
|
||||
'Content-type': 'application/json'
|
||||
'Content-type': 'application/json',
|
||||
Accept: 'application/json'
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user