config(proxy): 添加验证码接口代理配置

This commit is contained in:
2026-01-07 16:25:58 +08:00
parent 1165eabb4b
commit b2cae22719
+7
View File
@@ -41,6 +41,13 @@ module.exports = {
pathRewrite: {
'^/auth': 'auth'
}
},
'/captcha': {
target: process.env.VUE_APP_BASE_API,
changeOrigin: true,
pathRewrite: {
'^/captcha': 'captcha'
}
}
}
},