diff --git a/src/main/java/in/koreatech/koin/global/config/WebConfig.java b/src/main/java/in/koreatech/koin/global/config/WebConfig.java index d8dd8627a..1dbfdd4e5 100644 --- a/src/main/java/in/koreatech/koin/global/config/WebConfig.java +++ b/src/main/java/in/koreatech/koin/global/config/WebConfig.java @@ -7,6 +7,7 @@ import org.springframework.web.method.support.HandlerMethodArgumentResolver; import org.springframework.web.servlet.config.annotation.CorsRegistry; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; +import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import in.koreatech.koin.domain.bus.controller.BusStationEnumConverter; @@ -78,4 +79,10 @@ public void addCorsMappings(CorsRegistry registry) { .allowCredentials(true) .maxAge(3600); } + + @Override + public void addResourceHandlers(ResourceHandlerRegistry registry) { + registry.addResourceHandler("/static/**") + .addResourceLocations("classpath:/static/"); + } } diff --git a/src/main/resources/mail/change_password_config.html b/src/main/resources/mail/change_password_config.html index 62c79f7d2..3f7cc3c6f 100644 --- a/src/main/resources/mail/change_password_config.html +++ b/src/main/resources/mail/change_password_config.html @@ -58,7 +58,7 @@ - - + +