Use HTTP 302 status code for successful backend redirect (#544)

This commit is contained in:
Dan Sosedoff 2022-01-08 12:25:24 -06:00 committed by GitHub
parent 4c496feff2
commit 0794c642e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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