songshuai 5 years ago
parent
commit
22507d4b6b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/cn/efunbox/audio/config/Config.java

+ 2 - 2
src/main/java/cn/efunbox/audio/config/Config.java

@@ -57,8 +57,8 @@ public class Config extends WebMvcConfigurerAdapter{
         registry.addInterceptor(ignoreOptionsInterceptor())
                 .addPathPatterns("/**");
 
-//        registry.addInterceptor(allowOriginIntercepter())
-//                .addPathPatterns("/**");
+        registry.addInterceptor(allowOriginIntercepter())
+                .addPathPatterns("/**");
     }
 
 //    /**