mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-23 21:35:04 +03:00
13 lines
309 B
JavaScript
13 lines
309 B
JavaScript
import axios from 'axios';
|
|
import Config from 'react-native-config';
|
|
|
|
const image = axios.create({
|
|
baseURL: Config.OLD_IMAGE_API, // Config.NEW_IMAGE_API
|
|
headers: {
|
|
Authorization: Config.OLD_IMAGE_API, // Config.NEW_IMAGE_API
|
|
'Content-Type': 'multipart/form-data',
|
|
},
|
|
});
|
|
|
|
export default image;
|