张涛 1 년 전
부모
커밋
89abddd71a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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,