fix argument check and some nits

This commit is contained in:
6543
2021-12-05 23:56:06 +01:00
parent 196482da07
commit aa0638903a
2 changed files with 6 additions and 3 deletions

View File

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