13 lines
451 B
TypeScript
Executable File
13 lines
451 B
TypeScript
Executable File
import axios from "axios";
|
|
const BASE_URL = process.env.REACT_APP_INTEGRATOR_URL;
|
|
export const GRAPHQL_URL = process.env.REACT_APP_GRAPHQL_URL ?? "";
|
|
|
|
const instance = axios.create({
|
|
baseURL: BASE_URL + (process.env.REACT_APP_INTEGRATOR_API_VERSION ?? ""),
|
|
});
|
|
export { instance };
|
|
const integratorApiClient = axios.create({
|
|
baseURL: BASE_URL + (process.env.REACT_APP_INTEGRATOR_API_VERSION ?? ""),
|
|
});
|
|
export { integratorApiClient };
|