From 25ced6bd1bf98ca697b27fd493aa703d44755180 Mon Sep 17 00:00:00 2001 From: Harshad Kadam Date: Thu, 3 Aug 2023 16:50:24 +0530 Subject: [PATCH] fix for comment of pr --- .../main/java/com/sourcefuse/jarc/authlib/cors/CorsConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/jarc-auth-lib/src/main/java/com/sourcefuse/jarc/authlib/cors/CorsConfig.java b/libs/jarc-auth-lib/src/main/java/com/sourcefuse/jarc/authlib/cors/CorsConfig.java index 33273d78..23979a03 100644 --- a/libs/jarc-auth-lib/src/main/java/com/sourcefuse/jarc/authlib/cors/CorsConfig.java +++ b/libs/jarc-auth-lib/src/main/java/com/sourcefuse/jarc/authlib/cors/CorsConfig.java @@ -17,7 +17,7 @@ public class CorsConfig implements WebMvcConfigurer { public void addCorsMappings(CorsRegistry registry) { if (corsUrl != null) { registry - .addMapping("/api/**") + .addMapping("/**") .allowedOrigins(corsUrl) .allowedMethods("*") .allowedHeaders("*")