fix: multiple gateway kick user each other.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
pull/943/head
Gordon 2 years ago
parent 2c876c069d
commit 4597aa0847

@ -129,7 +129,7 @@ func (c *UserConnContext) GetToken() string {
return c.Req.URL.Query().Get(Token) return c.Req.URL.Query().Get(Token)
} }
func (c *UserConnContext) SetToken(token string) { func (c *UserConnContext) SetToken(token string) {
c.Req.URL.Query().Set(Token, token) c.Req.URL.RawQuery = Token + "=" + token
} }
func (c *UserConnContext) GetBackground() bool { func (c *UserConnContext) GetBackground() bool {

Loading…
Cancel
Save