Explorar el Código

Fix auth window (#4635)

Feroze Mohideen hace 2 años
padre
commit
039dffd34c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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();