Skip to content

Commit

Permalink
host name
Browse files Browse the repository at this point in the history
  • Loading branch information
Feroze Mohideen committed May 9, 2024
1 parent 9897c4e commit d3ce0a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dashboard/src/lib/hooks/useAuthWindow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ export const useAuthWindow = ({
if (authWindow) {
try {
if (
authWindow.location.hostname.includes("porter") ||
authWindow.location.hostname.includes("dashboard.getporter.dev") ||
authWindow.location.hostname.includes("cloud.porter.run") ||
authWindow.location.hostname.includes("localhost")
) {
authWindow.close();
Expand Down

0 comments on commit d3ce0a1

Please sign in to comment.