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:
@@ -67,6 +67,12 @@ export default defineConfig(({ mode }) => {
|
||||
})
|
||||
},
|
||||
},
|
||||
'/runapi': {
|
||||
target: 'https://runapi.co',
|
||||
changeOrigin: true,
|
||||
rewrite: path => path.replace(/^\/runapi/, '/v1'),
|
||||
secure: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
optimizeDeps: {
|
||||
|
||||
Reference in New Issue
Block a user