Skip to content

Commit

Permalink
updating alowed hosts in artifact ghes check
Browse files Browse the repository at this point in the history
  • Loading branch information
eggyhead committed Jan 31, 2024
1 parent 1a1d5e3 commit 1e316cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/artifact/src/internal/shared/config.ts
Expand Up @@ -30,9 +30,9 @@ export function isGhes(): boolean {

const hostname = ghUrl.hostname.trimEnd().toUpperCase()
const isGitHubHost = (hostname == 'GITHUB.COM')
const isProximaHost = (hostname.endsWith('GHE.COM') || hostname.endsWith('GHE.LOCALHOST'))
const isGheHost = (hostname.endsWith('.GHE.COM') || hostname.endsWith('.GHE.LOCALHOST'))

return !isGitHubHost && !isProximaHost
return !isGitHubHost && !isGheHost
}

export function getGitHubWorkspaceDir(): string {
Expand Down

0 comments on commit 1e316cc

Please sign in to comment.