Skip to content

Commit

Permalink
Revert "revert me"
Browse files Browse the repository at this point in the history
This reverts commit 189c431.
  • Loading branch information
mustard-mh committed Sep 27, 2024
1 parent 2ac4ecd commit d7f086d
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions components/dashboard/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,12 @@ export const poll = async <T>(
};

export function isGitpodIo() {
return window.location.hostname === "gitpod.io";
// TODO(hw): Revert me before merging
// return (
// window.location.hostname === "gitpod.io" ||
// window.location.hostname === "gitpod-staging.com" ||
// window.location.hostname.endsWith("gitpod-dev.com") ||
// window.location.hostname.endsWith("gitpod-io-dev.com")
// );
return (
window.location.hostname === "gitpod.io" ||
window.location.hostname === "gitpod-staging.com" ||
window.location.hostname.endsWith("gitpod-dev.com") ||
window.location.hostname.endsWith("gitpod-io-dev.com")
);
}

function trimResource(resource: string): string {
Expand Down

0 comments on commit d7f086d

Please sign in to comment.