diff --git a/src/main/java/com/hellomeritz/global/WebConfig.java b/src/main/java/com/hellomeritz/global/WebConfig.java index a99fc66..7b4e1ec 100644 --- a/src/main/java/com/hellomeritz/global/WebConfig.java +++ b/src/main/java/com/hellomeritz/global/WebConfig.java @@ -33,13 +33,5 @@ public void addInterceptors(InterceptorRegistry registry){ registry.addInterceptor(new IpSensor(objectMapper)) .addPathPatterns("/users/*"); } - - @Override - public void addResourceHandlers(final ResourceHandlerRegistry registry) { - registry.addResourceHandler("/**") - .addResourceLocations("classpath:/templates/","classpath:/static/") - .setCacheControl(CacheControl.maxAge(1, TimeUnit.SECONDS)); - } - - + } diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html index b329497..7ee3f9b 100644 --- a/src/main/resources/static/index.html +++ b/src/main/resources/static/index.html @@ -6,7 +6,7 @@ -외국인 상담 +외국인 상담