Skip to content

Commit bfb7160

Browse files
feat(NODE-7319): update allowed hosts list with *.mongo.com (#4802)
Co-authored-by: Bailey Pearson <bailey.pearson@mongodb.com>
1 parent e133987 commit bfb7160

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cmap/auth/mongo_credentials.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ export const DEFAULT_ALLOWED_HOSTS = [
4545
'*.mongodbgov.net',
4646
'localhost',
4747
'127.0.0.1',
48-
'::1'
48+
'::1',
49+
'*.mongo.com'
4950
];
5051

5152
/** Error for when the token audience is missing in the environment. */

0 commit comments

Comments
 (0)