We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29dddf0 commit 5e79511Copy full SHA for 5e79511
src/configuration/configuration.ts
@@ -75,7 +75,7 @@ export function getGitHubApiUri(): string {
75
return base;
76
}
77
78
- if(base.includes(".ghe.com")){
+ if(base.endsWith(".ghe.com")){
79
return `api.${base}`
80
} else {
81
return `${base}/api/v3`;
0 commit comments