import { defineConfig } from 'vite'; export default defineConfig({ server: { port: 3200, cors: false, proxy: { '/api': { target: 'http://127.0.0.1:8090', changeOrigin: true, // rewrite: (path) => path.replace(/^\/api/, ''), }, }, }, })