diff --git a/vite.config.js b/vite.config.js index 9ac0d6b..12bb4b4 100644 --- a/vite.config.js +++ b/vite.config.js @@ -57,36 +57,6 @@ export default defineConfig({ strictPort: false, open: true, proxy: { - // '/api/custom': { - // // target: 'http://web-tunnel.feashow.com/api', - // target: 'http://192.168.31.175:8000', - // changeOrigin: true, - // rewrite: (path) => path.replace(/^\/api/, ''), - // }, - // '/api/admin': { - // target: 'http://web-tunnel.feashow.com/api', - // // target: 'http://192.168.31.175:8000', - // changeOrigin: true, - // rewrite: (path) => path.replace(/^\/api/, ''), - // }, - // '/api/auth': { - // target: 'http://web-tunnel.feashow.com/api', - // // target: 'http://192.168.31.175:8000', - // changeOrigin: true, - // rewrite: (path) => path.replace(/^\/api/, ''), - // }, - // '/api/log': { - // // target: 'http://web-tunnel.feashow.com/api', - // target: 'http://192.168.31.175:8000', - // changeOrigin: true, - // rewrite: (path) => path.replace(/^\/api/, ''), - // }, - // '/api/code-gen': { - // // target: 'http://web-tunnel.feashow.com/api', - // target: 'http://192.168.31.175:8000', - // changeOrigin: true, - // rewrite: (path) => path.replace(/^\/api/, ''), - // }, '/api': { target: 'http://web-tunnel.feashow.com/api', // target: 'http://192.168.31.175:8000',