liwei19941102 2 éve
szülő
commit
f6d9089826
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      vite.config.ts

+ 1 - 0
vite.config.ts

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