How to change the way Spring Boot serves static files?
问题 After using JHipster on a couple of new projects recently (Highly recommended ! Amazing work !), I am trying to back-port some of the concepts into an older webapp, essentially migrating it to Spring Boot and Angular. In Spring Boot, the default location for static web resources (HTML, JS, CSS, etc.) is in a directory called public , static or resources located at the root of the classpath. Any of these directories will be picked up by spring boot and files in them will be accessible via HTTP