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)),