瀏覽代碼

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();