Skip to content

Commit

Permalink
Add 127.0.0.1 for good measure
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerLeonhardt committed Feb 1, 2025
1 parent cf19921 commit 8df92c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extensions/microsoft-authentication/src/common/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export function isSupportedClient(uri: Uri): boolean {
// github.dev & codespaces
/(?:^|\.)github\.dev$/.test(uri.authority) ||
// localhost
/^localhost:\d+$/.test(uri.authority)
/^localhost:\d+$/.test(uri.authority) ||
// 127.0.0.1
/^127\.0\.0\.1:\d+$/.test(uri.authority)
);
}

0 comments on commit 8df92c3

Please sign in to comment.