diff --git a/.env b/.env index 8f3e6eb..ee32553 100644 --- a/.env +++ b/.env @@ -2,7 +2,7 @@ PUBLIC_URL=http://localhost:3000/ PORT=3000 PRIMARY_APP_API_URL=https://preview.keenthemes.com/metronic8/laravel/api REACT_APP_BASE_LAYOUT_CONFIG_KEY='metronic-react-demo1-8150' -REACT_APP_API_URL=https://preview.keenthemes.com/metronic8/laravel/api +REACT_APP_API_URL=https://float-gat.dev.chiefsoft.net/en/userweb/api/v1 REACT_APP_VERSION=v8.1.5 REACT_APP_THEME_NAME=WrenchBoard REACT_APP_THEME_DEMO=dashboard diff --git a/src/app/modules/auth/core/_requests.ts b/src/app/modules/auth/core/_requests.ts index aaef532..c6a1a2d 100644 --- a/src/app/modules/auth/core/_requests.ts +++ b/src/app/modules/auth/core/_requests.ts @@ -1,7 +1,7 @@ import axios from 'axios' import {AuthModel, UserModel} from './_models' -const API_URL = process.env.REACT_APP_API_URL +const API_URL = process?.env.REACT_APP_API_URL export const GET_USER_BY_ACCESSTOKEN_URL = `${API_URL}/verify_token` export const LOGIN_URL = `${API_URL}/login`