songshuai 5 rokov pred
rodič
commit
22507d4b6b

+ 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("/**");
     }
 
 //    /**