ecency-mobile/src/config/search.js

13 lines
264 B
JavaScript
Raw Normal View History

import axios from 'axios';
import Config from 'react-native-config';
const search = axios.create({
baseURL: Config.SEARCH_API_URL,
headers: {
2018-11-25 23:56:51 +03:00
Authorization: Config.SEARCH_API_TOKEN,
'Content-Type': 'application/json',
},
});
export default search;