9 lines
137 B
TypeScript
9 lines
137 B
TypeScript
|
import axios from 'axios'
|
||
|
import { getApiUrl } from '@/utils'
|
||
|
|
||
|
const api = axios.create({
|
||
|
baseURL: getApiUrl(),
|
||
|
})
|
||
|
|
||
|
export default api
|