mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
fix argument check and some nits
This commit is contained in:
parent
196482da07
commit
aa0638903a
2 changed files with 6 additions and 3 deletions
|
@ -2,8 +2,9 @@ package html
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"github.com/valyala/fasthttp"
|
||||
"strconv"
|
||||
|
||||
"github.com/valyala/fasthttp"
|
||||
)
|
||||
|
||||
// ReturnErrorPage sets the response status code and writes NotFoundPage to the response body, with "%status" replaced
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue