Skip to content

Commit 8cb1362

Browse files
authored
fix: redirect issue (#1670)
## Problem <!-- Who is this for and what problem does it solve? --> <!-- Closes #ISSUE_ID --> ## Changes <!-- If you're an agent, only list tests you actually ran. -->
1 parent c0ef4cd commit 8cb1362

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/code/src/main/services/github-integration/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class GitHubIntegrationService {
1414
): Promise<StartGitHubFlowOutput> {
1515
try {
1616
const cloudUrl = getCloudUrlFromRegion(region);
17-
const next = `${cloudUrl}/projects/${projectId}`;
17+
const next = `${cloudUrl}/project/${projectId}`;
1818
const authorizeUrl = `${cloudUrl}/api/environments/${projectId}/integrations/authorize/?kind=github&next=${encodeURIComponent(next)}`;
1919

2020
log.info("Opening GitHub authorization URL in browser");

apps/code/src/main/services/linear-integration/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class LinearIntegrationService {
1414
): Promise<StartLinearFlowOutput> {
1515
try {
1616
const cloudUrl = getCloudUrlFromRegion(region);
17-
const next = `${cloudUrl}/projects/${projectId}`;
17+
const next = `${cloudUrl}/project/${projectId}`;
1818
const authorizeUrl = `${cloudUrl}/api/environments/${projectId}/integrations/authorize/?kind=linear&next=${encodeURIComponent(next)}`;
1919

2020
log.info("Opening Linear authorization URL in browser");

0 commit comments

Comments
 (0)