Skip to content

Commit 67e09f9

Browse files
author
Marcin Hoppe
committed
Properly escape domain components in the sample regex
1 parent 56d6779 commit 67e09f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ angular
167167
168168
...
169169
170-
whiteListedDomains: [/^api-version-\d+.myapp.com$/i, 'localhost']
170+
whiteListedDomains: [/^api-version-\d+\.myapp\.com$/i, 'localhost']
171171
});
172172
});
173173
```

0 commit comments

Comments
 (0)