fix: 功能完善。

This commit is contained in:
tianyongbao
2025-12-14 23:16:39 +08:00
parent 4ac97b19a2
commit d4c7f3b324
4 changed files with 8 additions and 3 deletions

View File

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