Explorar o código

Fix auth window (#4635)

Feroze Mohideen %!s(int64=2) %!d(string=hai) anos
pai
achega
039dffd34c
Modificáronse 1 ficheiros con 1 adicións e 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();