diff --git a/client/src/App.tsx b/client/src/App.tsx index 7409de2..e5f3b04 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -13,7 +13,7 @@ import { AuthContext } from './utils/AuthProvider.tsx'; import ProtectedRoutes from './utils/ProtectedRoutes.tsx'; import axios from 'axios'; export const axiosClient = axios.create({ - baseURL: import.meta.env.BASE_URL, + baseURL: import.meta.env.VITE_BASE_URL, }); const router = createBrowserRouter([ { diff --git a/server/.env b/server/.env index 289d5de..bcf432d 100644 --- a/server/.env +++ b/server/.env @@ -3,7 +3,7 @@ CLIENT_PORT=5000 SERVER_PORT=3000 #DO NOT CHANGE JWT_SECRET=fdsfsdfds@ -ORIGIN=http://localhost:5173 +ORIGIN=http://localhost:5173#CLIENT URL PG_HOST=192.168.0.47 PG_USER=postgres