Ver Fonte

Fix auth window (#4635)

Feroze Mohideen há 2 anos atrás
pai
commit
039dffd34c
1 ficheiros alterados com 1 adições e 0 exclusões
  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();