charles
2024-04-29 b95cf940af8e01e4eca30b2599b029c2f645bd1e
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
      }