vite.config.ts
@@ -14,17 +14,19 @@ // https://vitejs.dev/config/ export default defineConfig({ base:'./', server: { proxy: { '/api-s/': { // http://192.168.20.119:8003 http://192.168.20.25:7010 target: 'http://192.168.20.120:9081', //target: 'http://192.168.20.119:9081', target:'http://pad.fai365.com', ws: true, changeOrigin: true }, '/api': { // http://192.168.20.119:8003 http://192.168.20.25:7010 target: 'http://192.168.20.118:8001', target:'http://pad.fai365.com', ws: true, changeOrigin: true }