修改配置
This commit is contained in:
parent
b7946632f1
commit
5c8ed3e294
@ -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();
|
||||
|
@ -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();
|
||||
// 资源
|
||||
|
Loading…
Reference in New Issue
Block a user