From: Kai Moritz Date: Sat, 18 Jun 2016 10:25:24 +0000 (+0200) Subject: WIP: thymeproxy X-Git-Tag: alt~24 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=322949a0946d0a152d98f57675f4e91ea83f1738;p=maven-thymeleaf-skin WIP: thymeproxy --- diff --git a/src/main/java/de/juplo/thymeproxy/Application.java b/src/main/java/de/juplo/thymeproxy/Application.java index d4ccd53..d7aa61d 100644 --- a/src/main/java/de/juplo/thymeproxy/Application.java +++ b/src/main/java/de/juplo/thymeproxy/Application.java @@ -27,10 +27,11 @@ public class Application mapping.setOrder(Ordered.HIGHEST_PRECEDENCE); Map 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; }