/ src / revolve / ui / vite.config.js
vite.config.js
 1  import { defineConfig } from 'vite';
 2  import react from '@vitejs/plugin-react';
 3  
 4  export default defineConfig({
 5    plugins: [react()],
 6    /*
 7    server: {
 8      proxy: {
 9        '/api': {
10          target: 'http://localhost:48001',
11          changeOrigin: true,
12          secure: false,
13        },
14      },
15    },
16    */
17  });
18  
19  
20  
21  // export default defineConfig({
22  //   plugins: [react()],
23  //   // No need for a proxy if same origin
24  // });