diff --git a/Location-based-target-authentication/src/main/java/com/swyp/global/config/WebConfig.java b/Location-based-target-authentication/src/main/java/com/swyp/global/config/WebConfig.java index 632af73..4bbba98 100644 --- a/Location-based-target-authentication/src/main/java/com/swyp/global/config/WebConfig.java +++ b/Location-based-target-authentication/src/main/java/com/swyp/global/config/WebConfig.java @@ -1,22 +1,12 @@ package com.swyp.global.config; -import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; -import org.springframework.web.servlet.ViewResolver; import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; -import org.springframework.web.servlet.view.InternalResourceViewResolver; @Configuration public class WebConfig implements WebMvcConfigurer { - @Bean // 뷰 리졸버 설정 - public ViewResolver viewResolver() { - InternalResourceViewResolver resolver = new InternalResourceViewResolver(); - resolver.setPrefix("/WEB-INF/views/"); - resolver.setSuffix(".jsp"); - return resolver; - } @Override public void addResourceHandlers(ResourceHandlerRegistry registry) { diff --git a/Location-based-target-authentication/src/main/resources/application.properties b/Location-based-target-authentication/src/main/resources/application.properties index fdb3e0e..b4f1c2c 100644 --- a/Location-based-target-authentication/src/main/resources/application.properties +++ b/Location-based-target-authentication/src/main/resources/application.properties @@ -9,8 +9,6 @@ spring.config.import=classpath:application-secret.properties logging.level.com.swyp.location=INFO logging.level.org.springframework.web.reactive.function.client=INFO -spring.mvc.view.prefix=/WEB-INF/views/ -spring.mvc.view.suffix=.jsp # Server Configuration server.port=443