2024-08-26 14:03:54 +00:00
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
import react from '@vitejs/plugin-react'
|
2024-09-04 05:53:00 +00:00
|
|
|
// const BASE_URL = import.meta.env.VITE_REACT_APP_SECRET;
|
|
|
|
// console.log("Base URL:", BASE_URL);
|
2024-09-04 00:52:26 +00:00
|
|
|
|
2024-08-26 14:03:54 +00:00
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
|
|
|
plugins: [react()],
|
2024-09-04 00:52:26 +00:00
|
|
|
|
|
|
|
server: {
|
|
|
|
proxy: {
|
2024-09-04 06:49:59 +00:00
|
|
|
// '/users/signup': 'http://localhost:3002',
|
|
|
|
// '/users/signin': 'http://localhost:3002',
|
2024-09-04 05:53:00 +00:00
|
|
|
|
2024-09-04 06:49:59 +00:00
|
|
|
'/users/signup': 'http://67.225.129.127:3002/',
|
2024-09-04 06:06:29 +00:00
|
|
|
'/users/signin': 'http://67.225.129.127:3002/',
|
2024-09-08 12:30:09 +00:00
|
|
|
'/users/forgotpassword': 'http://67.225.129.127:3002/',
|
2024-09-04 00:52:26 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2024-08-26 14:03:54 +00:00
|
|
|
})
|
2024-09-07 05:39:50 +00:00
|
|
|
|
|
|
|
|