diff --git a/cope2n-fe/src/requests/api.ts b/cope2n-fe/src/requests/api.ts index d563d4d..5874daf 100644 --- a/cope2n-fe/src/requests/api.ts +++ b/cope2n-fe/src/requests/api.ts @@ -2,11 +2,7 @@ import axios, { AxiosError, HttpStatusCode } from 'axios'; import { TOKEN_KEY } from '../consts'; import { getLocale } from '../i18n'; -const BASE_PATH = - process.env.NODE_ENV === 'production' - ? `${process.env.VITE_API_BASE_URL}/api` - : '/api'; - +const BASE_PATH = '/api'; export const API = axios.create({ baseURL: BASE_PATH, withCredentials: false,