mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-14 19:21:46 +03:00
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)
|
||||
c.Redirect(301, redirectURI)
|
||||
c.Redirect(302, redirectURI)
|
||||
}
|
||||
|
||||
// Connect creates a new client connection
|
||||
|
Loading…
Reference in New Issue
Block a user