fixed invalid .env
This commit is contained in:
@@ -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([
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user