how spring boot know he need to use target index.html code example
Example: how to register a static assets folder spring boot
spring.resources.static-locations=classpath:/files/,classpath:/static-files
spring.resources.static-locations=classpath:/files/,classpath:/static-files