1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2026-07-25 13:34:08 +08:00

feat: 添加runapi本地代理

This commit is contained in:
zclzone
2026-06-17 17:43:08 +08:00
parent 3a09be229b
commit e4fcbc0b07
2 changed files with 16 additions and 1 deletions

View File

@@ -67,6 +67,12 @@ export default defineConfig(({ mode }) => {
})
},
},
'/runapi': {
target: 'https://runapi.co',
changeOrigin: true,
rewrite: path => path.replace(/^\/runapi/, '/v1'),
secure: false,
},
},
},
optimizeDeps: {