mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-24 13:56:57 +00:00
format code
This commit is contained in:
parent
019d942249
commit
aadf709a3e
1 changed files with 0 additions and 1 deletions
|
@ -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)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue