Răsfoiți Sursa

Fix auth window (#4635)

Feroze Mohideen 2 ani în urmă
părinte
comite
039dffd34c
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  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 {
         try {
           if (
           if (
             authWindow.location.hostname.includes("dashboard.getporter.dev") ||
             authWindow.location.hostname.includes("dashboard.getporter.dev") ||
+            authWindow.location.hostname.includes("cloud.porter.run") ||
             authWindow.location.hostname.includes("localhost")
             authWindow.location.hostname.includes("localhost")
           ) {
           ) {
             authWindow.close();
             authWindow.close();