Browse Source

修改端口

chenying2100 1 month ago
parent
commit
c765e2d272
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vite.config.ts

+ 1 - 1
vite.config.ts

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