1 Commits

Author SHA1 Message Date
Ebube 813489c67e initial commit 2023-04-14 06:09:08 +01:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ PUBLIC_URL=http://localhost:3000/
PORT=3000 PORT=3000
PRIMARY_APP_API_URL=https://preview.keenthemes.com/metronic8/laravel/api PRIMARY_APP_API_URL=https://preview.keenthemes.com/metronic8/laravel/api
REACT_APP_BASE_LAYOUT_CONFIG_KEY='metronic-react-demo1-8150' 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_VERSION=v8.1.5
REACT_APP_THEME_NAME=WrenchBoard REACT_APP_THEME_NAME=WrenchBoard
REACT_APP_THEME_DEMO=dashboard REACT_APP_THEME_DEMO=dashboard
+1 -1
View File
@@ -1,7 +1,7 @@
import axios from 'axios' import axios from 'axios'
import {AuthModel, UserModel} from './_models' 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 GET_USER_BY_ACCESSTOKEN_URL = `${API_URL}/verify_token`
export const LOGIN_URL = `${API_URL}/login` export const LOGIN_URL = `${API_URL}/login`