From 72c8ebe4a0d168073f488f70305b35384c210e0a Mon Sep 17 00:00:00 2001 From: Roni Dover Date: Mon, 21 Jul 2025 19:27:19 -0400 Subject: [PATCH] Add webjars resource mapping configuration --- src/main/resources/application.properties | 6 ++++++ 1 file changed, 6 insertions(+) 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