18 lines
350 B
JavaScript
18 lines
350 B
JavaScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
|
|
server: {
|
|
proxy: {
|
|
'/users/signup': 'http://localhost:3001', // Proxy requests to /users to the backend server
|
|
'/users/signin': 'http://localhost:3001',
|
|
},
|
|
},
|
|
|
|
})
|