mapping.setOrder(Ordered.HIGHEST_PRECEDENCE);
Map<String, Object> mappings = new HashMap<>();
mappings.put("/thymeleaf/.*\\.html", proxy);
+ mappings.put("/img/.+", proxy);
mappings.put("/css/.+", proxy);
mappings.put("/js/.+", proxy);
mappings.put("/fonts/.+", proxy);
- mappings.put(".*\\.html", views);
+ mappings.put("/.*\\.html", views);
mapping.setUrlMap(mappings);
return mapping;
}