src/main/java/de/uapcore/lightpit/modules/ErrorModule.java

changeset 45
cc7f082c5ef3
parent 43
9abf0bf44c7b
child 46
1574965c7dc7
     1.1 --- a/src/main/java/de/uapcore/lightpit/modules/ErrorModule.java	Wed May 13 18:55:05 2020 +0200
     1.2 +++ b/src/main/java/de/uapcore/lightpit/modules/ErrorModule.java	Wed May 13 21:10:23 2020 +0200
     1.3 @@ -59,17 +59,17 @@
     1.4          return ResponseType.HTML;
     1.5      }
     1.6  
     1.7 -    @RequestMapping(requestPath = "404", method = HttpMethod.GET)
     1.8 +    @RequestMapping(requestPath = "404.html", method = HttpMethod.GET)
     1.9      public ResponseType handle404(HttpServletRequest req) {
    1.10          return handle(req, 404);
    1.11      }
    1.12  
    1.13 -    @RequestMapping(requestPath = "403", method = HttpMethod.GET)
    1.14 +    @RequestMapping(requestPath = "403.html", method = HttpMethod.GET)
    1.15      public ResponseType handle403(HttpServletRequest req) {
    1.16          return handle(req, 403);
    1.17      }
    1.18  
    1.19 -    @RequestMapping(requestPath = "500", method = HttpMethod.GET)
    1.20 +    @RequestMapping(requestPath = "500.html", method = HttpMethod.GET)
    1.21      public ResponseType handle500(HttpServletRequest req) {
    1.22          return handle(req, 500);
    1.23      }

mercurial