Skip to content

Commit 24fcf3d

Browse files
committed
feat: update allowed hosts list
1 parent 761b9bf commit 24fcf3d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/cmap/auth/mongo_credentials.ts

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

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

0 commit comments

Comments
 (0)