vue+springboot
聆听HJ
我们终于到了小时候最羡慕的年龄,但却没有成为小时候最想成为的人。
展开
-
SpringBoot升级2.4.0以上所出现的问题:When allowCredentials is true, allowedOrigins cannot contain the specia
When allowCredentials is true, allowedOrigins cannot contain the special value "*“since that cannot be set on the “Access-Control-Allow-Origin” response header. To allow credentials to a set of origins, list them explicitly or consider using"allowedOrigin.原创 2021-10-27 15:38:20 · 409 阅读 · 0 评论 -
vue+springboot前端请求后端接口跨域问题
package com.wjj.config; import org.springframework.context.annotation.Configuration;import org.springframework.web.servlet.config.annotation.CorsRegistry;import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; @Configurationpubli.原创 2020-10-21 10:21:43 · 1119 阅读 · 0 评论