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