markerhub博客项目使用springboot2.4.2遇到的问题
@NotBlank问题
需要在pom文件中加校验的依赖
跨域问题CorsConfig
springboot2.4.2会出现如下问题
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 “allowedOriginPatterns” instead.
需要将.allowedOrigin修改成.allowedOriginPatterns