From aadf709a3e3c0b10c9daa39d46dcb66bad94f1b9 Mon Sep 17 00:00:00 2001 From: crapStone Date: Sun, 4 Dec 2022 13:32:53 +0100 Subject: [PATCH] format code --- html/error.go | 1 - 1 file changed, 1 deletion(-) diff --git a/html/error.go b/html/error.go index 2d48112..206b123 100644 --- a/html/error.go +++ b/html/error.go @@ -26,7 +26,6 @@ func generateResponse(msg string, statusCode int) string { msg = strings.ReplaceAll(NotFoundPage, "%status%", strconv.Itoa(statusCode)+" "+errorMessage(statusCode)) - } else { msg = strings.ReplaceAll( strings.ReplaceAll(ErrorPage, "%message%", template.HTMLEscapeString(msg)),