nice error pages

This commit is contained in:
6543 2022-11-07 23:37:52 +01:00
parent b473639103
commit 1438699b73
No known key found for this signature in database
GPG key ID: B8BE6D610E61C862
4 changed files with 51 additions and 7 deletions

View file

@ -4,3 +4,6 @@ import _ "embed"
//go:embed 404.html
var NotFoundPage string
//go:embed error.html
var ErrorPage string