Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请求转发配置 #27

Open
zhaomenglu opened this issue Nov 1, 2024 · 0 comments
Open

请求转发配置 #27

zhaomenglu opened this issue Nov 1, 2024 · 0 comments

Comments

@zhaomenglu
Copy link

请问下本地开发怎么配置proxy呀,就是本地开发的请求转发,类似于vite中的server这种:
server: {
'/user': {
target: ''http://xxxxx
changeOrigin: true,
secure: false,
// 将后台返回的cooke生效域重写
cookieDomainRewrite: {
'*': ''
}
},
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant