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': BASE_URL || 'http://localhost:3002', // '/users/signin': BASE_URL || 'http://localhost:3002', '/users/signup': 'http://67.225.129.127:81', // Fallback if BASE_URL is undefined '/users/signin': 'http://67.225.129.127:81', }, }, })