From 322949a0946d0a152d98f57675f4e91ea83f1738 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 18 Jun 2016 12:25:24 +0200 Subject: [PATCH] WIP: thymeproxy --- src/main/java/de/juplo/thymeproxy/Application.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.20.1