projects
/
maven-thymeleaf-skin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1629ad5
)
WIP: thymeproxy
author
Kai Moritz
<kai@juplo.de>
Sat, 18 Jun 2016 10:25:24 +0000
(12:25 +0200)
committer
Kai Moritz
<kai@juplo.de>
Sat, 18 Jun 2016 10:25:24 +0000
(12:25 +0200)
src/main/java/de/juplo/thymeproxy/Application.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/thymeproxy/Application.java
b/src/main/java/de/juplo/thymeproxy/Application.java
index
d4ccd53
..
d7aa61d
100644
(file)
--- 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<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;
}