This commit is contained in:
lq 2024-07-09 15:03:32 +08:00
parent fdcd6f25f6
commit 6a5bfb80f6
2 changed files with 425 additions and 376 deletions

File diff suppressed because it is too large Load Diff

View File

@ -18,8 +18,8 @@ export default defineConfig({
// 在此处编写代理规则
'/api': {
secure: false,
//target: 'https://192.168.3.198',
target: 'https://c.apxly.com',
target: 'https://test.yqt.com',
//target: 'https://c.apxly.com',
changeOrigin: true,
rewrite: (path) => {
return path.replace(/\/api/, '')