Parcourir la source

代理地址恢复

zhaohan il y a 7 mois
Parent
commit
5ed1cc623b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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://localhost:6776',
+          target: 'http://localhost:8080',
           changeOrigin: true,
           ws: true,
           rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')