From 813489c67ef3206d317cb6806f9b4f7e912ca55e Mon Sep 17 00:00:00 2001 From: Ebube Date: Fri, 14 Apr 2023 06:09:08 +0100 Subject: [PATCH] initial commit --- .env | 2 +- src/app/modules/auth/core/_requests.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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`