File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ var scope = map[codersdk.GitProvider][]string{
48
48
// regex provides defaults for each Git provider to match their SaaS host URL.
49
49
// This is configurable by each provider.
50
50
var regex = map [codersdk.GitProvider ]* regexp.Regexp {
51
- codersdk .GitProviderAzureDevops : regexp .MustCompile (`^(https?:\/\ /)?dev\.azure\.com(\ /.*)?$` ),
52
- codersdk .GitProviderBitBucket : regexp .MustCompile (`^(https?:\/\ /)?bitbucket\.org(\ /.*)?$` ),
53
- codersdk .GitProviderGitLab : regexp .MustCompile (`^(https?:\/\ /)?gitlab\.com(\ /.*)?$` ),
54
- codersdk .GitProviderGitHub : regexp .MustCompile (`^(https?:\/\ /)?github\.com(\ /.*)?$` ),
51
+ codersdk .GitProviderAzureDevops : regexp .MustCompile (`^(https?:/ /)?dev\.azure\.com(/.*)?$` ),
52
+ codersdk .GitProviderBitBucket : regexp .MustCompile (`^(https?:/ /)?bitbucket\.org(/.*)?$` ),
53
+ codersdk .GitProviderGitLab : regexp .MustCompile (`^(https?:/ /)?gitlab\.com(/.*)?$` ),
54
+ codersdk .GitProviderGitHub : regexp .MustCompile (`^(https?:/ /)?github\.com(/.*)?$` ),
55
55
}
56
56
57
57
// newJWTOAuthConfig creates a new OAuth2 config that uses a custom
You can’t perform that action at this time.
0 commit comments