摘要:
Gateway 不是使用的传统的SpringMVC,所以,针对SpringMVC的跨域设置,在Gateway中是不生效的。所以需要先关闭webflux的cors,再从gateway的filter里边设置cors就行了。 简单设置 代码配置: import org.springframework.co 阅读全文
posted @ 2022-03-03 17:35 shenyixin 阅读(845) 评论(0) 推荐(0)
|
||
|
摘要:
Gateway 不是使用的传统的SpringMVC,所以,针对SpringMVC的跨域设置,在Gateway中是不生效的。所以需要先关闭webflux的cors,再从gateway的filter里边设置cors就行了。 简单设置 代码配置: import org.springframework.co 阅读全文
posted @ 2022-03-03 17:35 shenyixin 阅读(845) 评论(0) 推荐(0) |
||