张涛 1 an în urmă
părinte
comite
89abddd71a
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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,