11 lines
199 B
TypeScript
11 lines
199 B
TypeScript
import axios from 'axios'
|
|
|
|
export const legacyClient = axios.create({
|
|
baseURL: '/api/legacy',
|
|
timeout: 6000,
|
|
withCredentials: true,
|
|
headers: {
|
|
'Content-Type': 'application/json',
|
|
},
|
|
})
|