Use HTTP 302 status code for successful backend redirect (#544)
This commit is contained in:
parent
4c496feff2
commit
0794c642e4
@ -129,7 +129,7 @@ func ConnectWithBackend(c *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
redirectURI := fmt.Sprintf("/%s?session=%s", command.Opts.Prefix, sid)
|
redirectURI := fmt.Sprintf("/%s?session=%s", command.Opts.Prefix, sid)
|
||||||
c.Redirect(301, redirectURI)
|
c.Redirect(302, redirectURI)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Connect creates a new client connection
|
// Connect creates a new client connection
|
||||||
|
Loading…
x
Reference in New Issue
Block a user