Skip to content

Commit

Permalink
fix: isstaging
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcadams committed Oct 8, 2024
1 parent 10f51dd commit 2b579bb
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions packages/www/lib/utils/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,11 @@ export function isExport(): boolean {

export function isStaging(): boolean {
return (
true ||
(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")))
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"))
);
}

Expand Down

0 comments on commit 2b579bb

Please sign in to comment.