瀏覽代碼

1.调整app

steelwei 1 月之前
父節點
當前提交
580344cf7d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      vite.config.ts

+ 1 - 1
vite.config.ts

@@ -24,7 +24,7 @@ export default defineConfig(({ mode, command }) => {
       // open: true,
       proxy: {
         [env.VITE_APP_BASE_API]: {
-          target: 'http://192.168.1.118:8080',
+          target: 'http://127.0.0.1:8080',
           changeOrigin: true,
           ws: true,
           rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')