mirror of
https://github.com/sergeyyarkov/educt-client.git
synced 2026-10-11 10:19:22 +03:00
11 lines
251 B
TypeScript
11 lines
251 B
TypeScript
import { AxiosRequestConfig } from 'axios';
|
|
import * as constants from '../constants';
|
|
|
|
const apiConfig: AxiosRequestConfig = {
|
|
baseURL: `${constants.BACKEND_URL}/api/`,
|
|
responseType: 'json',
|
|
withCredentials: true,
|
|
};
|
|
|
|
export default apiConfig;
|