Parcourir la source

Fix auth window (#4635)

Feroze Mohideen il y a 2 ans
Parent
commit
039dffd34c
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      dashboard/src/lib/hooks/useAuthWindow.ts

+ 1 - 0
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();