format code

This commit is contained in:
crapStone 2022-12-04 13:32:53 +01:00
parent 019d942249
commit aadf709a3e
No known key found for this signature in database
GPG Key ID: 4CAA9E39EEDEB1F0
1 changed files with 0 additions and 1 deletions

View File

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