From 9dce81664e6b9167e74f1c62fc086607d3b647eb Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Mon, 27 May 2024 13:42:03 +0900 Subject: [PATCH] =?UTF-8?q?url=20=ED=8C=A8=ED=84=B4,=20=ED=8A=B8=EB=9E=9C?= =?UTF-8?q?=EC=9E=AD=EC=85=98=20pointcut=20->=20=EC=84=A4=EC=A0=95?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EB=B6=84=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/base/boot/MvcConfig2.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/cokr/xit/base/boot/MvcConfig2.java b/src/main/java/cokr/xit/base/boot/MvcConfig2.java index 3bf0723..d18306d 100644 --- a/src/main/java/cokr/xit/base/boot/MvcConfig2.java +++ b/src/main/java/cokr/xit/base/boot/MvcConfig2.java @@ -5,6 +5,7 @@ import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import cokr.xit.base.menu.web.MenuInjector; +import cokr.xit.foundation.boot.Foundation; import cokr.xit.foundation.boot.MvcConfig; /**web mvc 설정(기존 dispatcher servlet) 클래스 @@ -25,6 +26,6 @@ public class MvcConfig2 extends MvcConfig { @Override public void addInterceptors(InterceptorRegistry registry) { // super.addInterceptors(registry); - registry.addInterceptor(menuInjector()).addPathPatterns(URL_PATTERNS); + registry.addInterceptor(menuInjector()).addPathPatterns(Foundation.urlPatterns()); } } \ No newline at end of file