FitTrackee/fittrackee_client/src/api/defaultApi.ts

9 lines
137 B
TypeScript

import axios from 'axios'
import { getApiUrl } from '@/utils'
const api = axios.create({
baseURL: getApiUrl(),
})
export default api