Fix vote route not using port query parameter
This commit is contained in:
parent
5c0741fdf6
commit
36425a3c0c
@ -164,7 +164,7 @@ func ParseVoteOptions(ctx *fiber.Ctx) (*VoteOptions, error) {
|
||||
|
||||
// Port
|
||||
{
|
||||
result.Port = uint16(ctx.QueryInt("host", 8192))
|
||||
result.Port = uint16(ctx.QueryInt("port", 8192))
|
||||
}
|
||||
|
||||
// Service Name
|
||||
|
||||
Loading…
Reference in New Issue
Block a user