Skip to content

Commit

Permalink
revert 🤦
Browse files Browse the repository at this point in the history
  • Loading branch information
suhailkakar committed Mar 4, 2024
1 parent 7f6c995 commit 7331762
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/www/lib/utils/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7331762

Please sign in to comment.