fix: swagger url 인증체크 대상에서 제외

dev
gitea-관리자 1 year ago
parent b862542654
commit a53e7a9b0b

@ -89,7 +89,10 @@ public class WebMvcConfig implements WebMvcConfigurer {
registry.addInterceptor(new AuthentificationInterceptor())
.addPathPatterns("/**/*")
.excludePathPatterns(
"/api/core/*"
"/api/core/*",
"/swagger-ui.html",
"/swagger-ui/*",
"/api-docs/*"
);
}

Loading…
Cancel
Save