songshuai %!s(int64=5) %!d(string=hai) anos
pai
achega
22507d4b6b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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("/**");
     }
 
 //    /**