Update oauthproxy.go - typos in comment

This commit is contained in:
Leandro Lafin 2024-07-11 14:12:31 -03:00
parent ccf5bbad48
commit 474f08f538
No known key found for this signature in database
GPG Key ID: 60C427B9DF40CB72
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ func (p *OAuthProxy) buildServeMux(proxyPrefix string) {
// The authonly path should be registered separately to prevent it from getting no-cache headers.
// We do this to allow users to have a short cache (via nginx) of the response to reduce the
// likelihood of multiple reuests trying to referesh sessions simultaneously.
// likelihood of multiple requests trying to refresh sessions simultaneously.
r.Path(proxyPrefix + authOnlyPath).Handler(p.sessionChain.ThenFunc(p.AuthOnly))
// This will register all of the paths under the proxy prefix, except the auth only path so that no cache headers