mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 14:26:58 +00:00
fix lint issues and tests
This commit is contained in:
parent
dc023b81a8
commit
ea13ac0e92
7 changed files with 27 additions and 33 deletions
|
@ -19,5 +19,5 @@ func ReturnErrorPage(ctx *context.Context, msg string, code int) {
|
|||
msg = errorBody(code)
|
||||
}
|
||||
|
||||
io.Copy(ctx.RespWriter, strings.NewReader(msg))
|
||||
_, _ = io.Copy(ctx.RespWriter, strings.NewReader(msg))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue