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

请问一下跨域问题如何解决呀, #32

Open
WhiteSnowGirl opened this issue Aug 20, 2021 · 0 comments
Open

请问一下跨域问题如何解决呀, #32

WhiteSnowGirl opened this issue Aug 20, 2021 · 0 comments

Comments

@WhiteSnowGirl
Copy link

跨域问题,这样配置对吗?
config:下的middleware.js
module.exports = [{
handle: kcors, // 处理跨域
options: {
'Access-Control-Allow-Origin':
}
},

然后我server端 npm start 启动了守护进程,请问要怎么让守护进程重新启动啊!

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