Skip to content

Commit 1ab72f7

Browse files
committed
refactor(bitbucket): shorten the cloud host policy explanation
1 parent c391fc4 commit 1ab72f7

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎packages/source-control-bitbucket/src/server/BitbucketApi.ts‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,7 @@ const BitbucketApiEnvConfig = Config.all({
5252
apiToken: Config.String("T3CODE_BITBUCKET_API_TOKEN").pipe(Config.option),
5353
});
5454

55-
/**
56-
* This client speaks only the Bitbucket Cloud API. Bitbucket Server and Data Center answer a
57-
* different one, so a repository on another host is not read unless
58-
* T3CODE_BITBUCKET_API_BASE_URL names the Cloud API to send it to.
59-
*/
55+
// Server and Data Center use a different API; a custom Cloud endpoint must be explicit.
6056
export const BitbucketServesHost = Config.String("T3CODE_BITBUCKET_API_BASE_URL").pipe(
6157
Config.option,
6258
Config.map(

0 commit comments

Comments
 (0)