张涛 před 1 rokem
rodič
revize
7615585860
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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,