Commit c4cd4f07 authored by janithgamage1.ed's avatar janithgamage1.ed

fix: update

parent 655c7e76
...@@ -3,8 +3,8 @@ GENERATE_SOURCEMAP = false ...@@ -3,8 +3,8 @@ GENERATE_SOURCEMAP = false
## Backend API URL ## Backend API URL
REACT_APP_API_URL_MOCK=https://mock-data-api-nextjs.vercel.app/ REACT_APP_API_URL_MOCK=https://mock-data-api-nextjs.vercel.app/
REACT_APP_API_URL=http://localhost:5000/ # REACT_APP_API_URL=http://localhost:5000/
REACT_APP_API_URL=https://sign-connect-plus-node-backend-dd0e2ce81a87.herokuapp.com/
## Google Map Key ## Google Map Key
......
...@@ -2,7 +2,8 @@ import axios from 'axios'; ...@@ -2,7 +2,8 @@ import axios from 'axios';
const axiosServices_Mock = axios.create({ baseURL: process.env.REACT_APP_API_URL_MOCK || 'http://localhost:3010/' }); const axiosServices_Mock = axios.create({ baseURL: process.env.REACT_APP_API_URL_MOCK || 'http://localhost:3010/' });
const axiosServices = axios.create({ baseURL: process.env.REACT_APP_API_URL || 'http://localhost:5000/' }); // const axiosServices = axios.create({ baseURL: process.env.REACT_APP_API_URL || 'http://localhost:5000/' });
const axiosServices = axios.create({ baseURL: process.env.REACT_APP_API_URL || 'https://sign-connect-plus-node-backend-dd0e2ce81a87.herokuapp.com/' });
// ==============================|| AXIOS - FOR MOCK SERVICES ||============================== // // ==============================|| AXIOS - FOR MOCK SERVICES ||============================== //
...@@ -23,6 +24,6 @@ axiosServices.interceptors.response.use( ...@@ -23,6 +24,6 @@ axiosServices.interceptors.response.use(
} }
); );
export { axiosServices_Mock, axiosServices }; export { axiosServices, axiosServices_Mock };
export default axiosServices_Mock export default axiosServices_Mock
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment