修改配置

This commit is contained in:
wanggeng 2022-08-02 17:49:42 +08:00
parent b7946632f1
commit 5c8ed3e294
2 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import org.springframework.web.filter.CorsFilter;
* @Version: 1.0
**/
@Configuration
public class CorsConfig {
public class CorsConfig {
private CorsConfiguration buildConfig() {
CorsConfiguration corsConfiguration = new CorsConfiguration();

View File

@ -77,6 +77,7 @@ public class WhiteListManager {
whiteListSet.add("/api/user/getsignintype/**");
whiteListSet.add("/assets/**");
whiteListSet.add("/route/file/**");
whiteListSet.add("/files/**");
String assetsMatchers = baseProperties.getAssetsMatchers();
// 资源