CORS policy: Request header field passstatic is not allowed by Access-Control-Allow-Headers in preflight response
摘要:1,在springboot项目中,加入了注解, @CrossOrigin, 无用, 2,之后添加nginx配置, add_header Access-Control-Allow-Origin *;ccess-Control-Allow-Headers "Authorization, Origin,
阅读全文
posted @
2020-10-27 17:27
woshare
阅读(481)
推荐(0)
ConcurrentWebSocketSessionDecorator(并发安全的websocket) The remote endpoint was in state [TEXT_PARTIAL_WRITING]
摘要:1,解决的问题:ConcurrentWebSocketSessionDecorator The remote endpoint was in state [TEXT_PARTIAL_WRITING], 注:websocket sendMessage 发送基本逻辑: 在发送消息前,会校验一下state
阅读全文
posted @
2020-10-14 17:54
woshare
阅读(3537)
推荐(0)