-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
socketio配置跨域请求可能多种选择,可以选择不配置? #968
Comments
好像不能不配置,就算getOrigin()为空,也会配置,跳不过了 |
com.corundumstudio.socketio.handler.EncoderHandler#addOriginHeaders |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
socketio集成相关的网关框架,网关那边配置了相关的跨域请求,如果socketio又处理跨域,
就会重复配置【Access-Control-Allow-Origin:】浏览器就会报cors 字段重复
The text was updated successfully, but these errors were encountered: