fix:功能进一步优化。

This commit is contained in:
tianyongbao
2026-01-10 01:59:53 +08:00
parent 6b878e49ff
commit 48981e0cca
2 changed files with 6 additions and 3 deletions

View File

@@ -24,8 +24,8 @@ export default defineConfig(({ mode, command }) => {
open: true,
proxy: {
[env.VITE_APP_BASE_API]: {
target: 'http://localhost:8080',
// target: 'https://www.qdintc.com/fishery-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), '')