Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/contents/gitpod-dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const isSiteGitpod = (): boolean => {
};

export const config: PlasmoCSConfig = {
matches: ["https://gitpod.io/*", "https://*.gitpod.cloud/*"],
matches: ["https://gitpod.io/*", "https://app.gitpod.io/*", "https://*.gitpod.cloud/*"],
};

const storage = new Storage();
Expand All @@ -32,7 +32,7 @@ const automaticallyUpdateEndpoint = async () => {
!currentlyStoredEndpoint
) {
console.log(`Gitpod extension: switching default endpoint to ${currentHost}.`);
await storage.set(STORAGE_KEY_ADDRESS, parseEndpoint(currentHost));
await storage.set(STORAGE_KEY_ADDRESS, parseEndpoint(window.location.href));
}
}
};
Expand Down
Loading