import { API_BASE, API_PORT } from '@env';
import axios from 'axios';

export default axios.create({
  baseURL: `http://${API_BASE}:${API_PORT}`,
  timeout: 4000,
  headers: {
    Accept: 'application/json',
    'content-type': 'application/json',
  },
});
