张涛 hai 1 ano
pai
achega
89abddd71a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      vite.config.mjs

+ 2 - 2
vite.config.mjs

@@ -21,8 +21,8 @@ export default defineConfig({
     host: '0.0.0.0', // IP配置,支持从IP启动
     proxy: {
       '/api/': {
-        target: 'http://192.168.20.119:9301',
-        // target: 'http://smartai.com:8191',
+        // target: 'http://192.168.20.119:9301',
+        target: 'http://smartai.com:8191',
         changeOrigin: true,
         secure: false,
         ws: true,