estatesfunding/ef-ui/vite.config.js

25 lines
648 B
JavaScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// const BASE_URL = import.meta.env.VITE_REACT_APP_SECRET;
// console.log("Base URL:", BASE_URL);
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
proxy: {
// '/users/signup': 'http://localhost:3002',
// '/users/signin': 'http://localhost:3002',
'/users/signup': 'http://67.225.129.127:3002/',
'/users/signin': 'http://67.225.129.127:3002/',
// '/users/forgotpassword': 'http://67.225.129.127:3002/',
// '/users/:id/verify/:token': 'http://67.225.129.127:3002/',
},
},
})