From 039dffd34c7722e1cfd692aa0a32672f01111143 Mon Sep 17 00:00:00 2001 From: Feroze Mohideen Date: Thu, 9 May 2024 17:02:56 -0400 Subject: [PATCH] Fix auth window (#4635) --- dashboard/src/lib/hooks/useAuthWindow.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/dashboard/src/lib/hooks/useAuthWindow.ts b/dashboard/src/lib/hooks/useAuthWindow.ts index 922f4921c0..bc14ac29c0 100644 --- a/dashboard/src/lib/hooks/useAuthWindow.ts +++ b/dashboard/src/lib/hooks/useAuthWindow.ts @@ -28,6 +28,7 @@ export const useAuthWindow = ({ try { if ( authWindow.location.hostname.includes("dashboard.getporter.dev") || + authWindow.location.hostname.includes("cloud.porter.run") || authWindow.location.hostname.includes("localhost") ) { authWindow.close();