Files
gemory/src/service.ts
2023-07-27 09:22:47 +02:00

30 lines
705 B
TypeScript

import axios from 'axios';
const evealApiUrl = process.env.EVEAL_API_URL;
const evepraisalUrl = process.env.EVEPRAISAL_URL;
const esiUrl = process.env.ESI_URL;
export const apiAxiosInstance = axios.create({
baseURL: evealApiUrl,
headers: {
'accept': 'application/json',
"Content-Type": "application/json"
},
})
export const evepraisalAxiosInstance = axios.create({
baseURL: evepraisalUrl,
headers: {
'accept': 'application/json',
"Content-Type": "application/json"
},
})
export const esiAxiosInstance = axios.create({
baseURL: esiUrl,
headers: {
'accept': 'application/json',
"Content-Type": "application/json"
},
})