From 733176233b0f6faba3cae851e82a3a3d67fe0b85 Mon Sep 17 00:00:00 2001 From: Suhail Kakar Date: Mon, 4 Mar 2024 18:38:03 +0530 Subject: [PATCH] =?UTF-8?q?revert=20=F0=9F=A4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/www/lib/utils/index.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/www/lib/utils/index.tsx b/packages/www/lib/utils/index.tsx index 1a3a954115..fe83172637 100644 --- a/packages/www/lib/utils/index.tsx +++ b/packages/www/lib/utils/index.tsx @@ -236,7 +236,13 @@ export const CARD_OPTIONS = { }; export function isStaging(): boolean { - return true; + return ( + typeof window !== "undefined" && + (window.location.hostname.includes("livepeer.monster") || + window.location.hostname.includes("livepeer.vercel.app") || + window.location.hostname.includes("livepeerorg.vercel.app") || + window.location.hostname.includes("livepeerorg.now.sh")) + ); } export function isDevelopment(): boolean {