From d7f086deff682b656dc76d11f47218c3df7776ad Mon Sep 17 00:00:00 2001 From: Huiwen Date: Fri, 27 Sep 2024 17:12:47 +0000 Subject: [PATCH] Revert "revert me" This reverts commit 189c431eca33b06812ae33beaf3f5c95a28604ee. --- components/dashboard/src/utils.ts | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/components/dashboard/src/utils.ts b/components/dashboard/src/utils.ts index 6b2d1fffd39c23..4787e6fbd446d1 100644 --- a/components/dashboard/src/utils.ts +++ b/components/dashboard/src/utils.ts @@ -53,14 +53,12 @@ export const poll = async ( }; 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 {