From b9c183cfe8a2ecd6e5db6bd09c015a14152afe14 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 18 Jun 2016 22:51:01 +0200 Subject: [PATCH] WIP: welcom + error - einfacherer Weg zur eigenen Fehlerseite --- src/main/java/de/juplo/thymeproxy/Application.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/juplo/thymeproxy/Application.java b/src/main/java/de/juplo/thymeproxy/Application.java index ff5174a..62ed171 100644 --- a/src/main/java/de/juplo/thymeproxy/Application.java +++ b/src/main/java/de/juplo/thymeproxy/Application.java @@ -114,7 +114,7 @@ public class Application extends WebMvcConfigurerAdapter @Bean public View error(ThymeleafViewResolver resolver) throws Exception { - return resolver.resolveViewName("templates/error", Locale.getDefault()); + return resolver.resolveViewName("templates/500", Locale.getDefault()); } -- 2.20.1