fix: format port
as %s, not %d (got []int in result)
This commit is contained in:
parent
af3d980252
commit
10d174f626
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ func handler(ctx *fasthttp.RequestCtx) {
|
||||||
row := stmt.QueryRow(
|
row := stmt.QueryRow(
|
||||||
ctx.Method(),
|
ctx.Method(),
|
||||||
fmt.Sprintf(
|
fmt.Sprintf(
|
||||||
"%s://%s:%d%s",
|
"%s://%s:%s%s",
|
||||||
scheme,
|
scheme,
|
||||||
host,
|
host,
|
||||||
port,
|
port,
|
||||||
|
|
Loading…
Add table
Reference in a new issue