estatesfunding/ef-ui/vite.config.js

23 lines
515 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/',
},
},
})