Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e9ed0b7

Browse files
committed
Add /api/v2/updatecheck to noauthorize list
1 parent c163af8 commit e9ed0b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/coderdtest/authorize.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ func AGPLRoutes(a *AuthTester) (map[string]string, map[string]RouteCheck) {
4848
"GET:/healthz": {NoAuthorize: true},
4949
"GET:/api/v2": {NoAuthorize: true},
5050
"GET:/api/v2/buildinfo": {NoAuthorize: true},
51+
"GET:/api/v2/updatecheck": {NoAuthorize: true},
5152
"GET:/api/v2/users/first": {NoAuthorize: true},
5253
"POST:/api/v2/users/first": {NoAuthorize: true},
5354
"POST:/api/v2/users/login": {NoAuthorize: true},

0 commit comments

Comments
 (0)