Skip to content

Commit 600b5aa

Browse files
committed
Enable automatic instance hopping for Flex
1 parent d6c1189 commit 600b5aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/contents/gitpod-dashboard.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const isSiteGitpod = (): boolean => {
1414
};
1515

1616
export const config: PlasmoCSConfig = {
17-
matches: ["https://gitpod.io/*", "https://*.gitpod.cloud/*"],
17+
matches: ["https://gitpod.io/*", "https://app.gitpod.io/*", "https://*.gitpod.cloud/*"],
1818
};
1919

2020
const storage = new Storage();
@@ -32,7 +32,7 @@ const automaticallyUpdateEndpoint = async () => {
3232
!currentlyStoredEndpoint
3333
) {
3434
console.log(`Gitpod extension: switching default endpoint to ${currentHost}.`);
35-
await storage.set(STORAGE_KEY_ADDRESS, parseEndpoint(currentHost));
35+
await storage.set(STORAGE_KEY_ADDRESS, parseEndpoint(window.location.href));
3636
}
3737
}
3838
};

0 commit comments

Comments
 (0)