import { AppAxios } from './Axios';
import { API_BASE_URL } from '../../../vite/config'

const isBuild = process.env.NODE_ENV === 'production'

export const http = new AppAxios({
  baseURL: isBuild ? '' : API_BASE_URL,
  timeout: 60e3
})
