Serving static assets with Micronaut
/src/main/resources/application.properties, I’m adding the following:
- The first line says that my resources will live in
- The second line means the pattern will match recursively for sub-directories as well.
enabledflag is to activate static serviing (not strictly needed as it’s supposed to be enabled by default).
- I also enabled CORS (cross-origin resource sharing).
src/main/resources/public/, I’ll have my