diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index f7aef094b4f..3aa89830552 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -29,3 +29,9 @@ logging.level.org.springframework=INFO # Maximum time static resources should be cached spring.web.resources.cache.cachecontrol.max-age=12h + +# Webjars configuration +spring.mvc.static-path-pattern=/webjars/** +spring.web.resources.static-locations=classpath:/META-INF/resources/webjars/ +spring.web.resources.chain.strategy.content.enabled=true +spring.web.resources.chain.strategy.content.paths=/webjars/** \ No newline at end of file