소스 검색

Fix auth window (#4635)

Feroze Mohideen 2 년 전
부모
커밋
039dffd34c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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();