From 3540c077f122269ca81a788d81e37e10c4ed89ec Mon Sep 17 00:00:00 2001 From: neviyn Date: Thu, 29 Apr 2021 21:19:33 +0100 Subject: [PATCH] Added some nicer error pages --- src/main/resources/templates/error/403.html | 18 ++++++++++++++++++ src/main/resources/templates/error/404.html | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 src/main/resources/templates/error/403.html create mode 100644 src/main/resources/templates/error/404.html diff --git a/src/main/resources/templates/error/403.html b/src/main/resources/templates/error/403.html new file mode 100644 index 0000000..dca6884 --- /dev/null +++ b/src/main/resources/templates/error/403.html @@ -0,0 +1,18 @@ + + + + + 403 | Permission Denied + + +
+ +

403 Forbidden

+

+ Sorry. You don't have access to this resource. +

+ Back + Home +
+ + \ No newline at end of file diff --git a/src/main/resources/templates/error/404.html b/src/main/resources/templates/error/404.html new file mode 100644 index 0000000..44ed7db --- /dev/null +++ b/src/main/resources/templates/error/404.html @@ -0,0 +1,18 @@ + + + + + 404 | Not Found + + +
+ +

404 Not Found

+

+ Sorry. Looks like the page you wanted doesn't exist. +

+ Back + Home +
+ + \ No newline at end of file