fix: format port as %s, not %d (got []int in result)

This commit is contained in:
DarkCat09 2024-07-02 19:08:15 +04:00
parent af3d980252
commit 10d174f626
Signed by: DarkCat09
GPG key ID: 0A26CD5B3345D6E3

View file

@ -59,7 +59,7 @@ func handler(ctx *fasthttp.RequestCtx) {
row := stmt.QueryRow(
ctx.Method(),
fmt.Sprintf(
"%s://%s:%d%s",
"%s://%s:%s%s",
scheme,
host,
port,