Skip to content

Commit 001bede

Browse files
authored
ref(js): Reword allowUrls and denyUrls docs (#6034)
1 parent 9657f4b commit 001bede

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/platforms/common/configuration/options.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,14 +260,13 @@ For ASP.NET and ASP.NET Core applications, the value will default to the server'
260260

261261
<ConfigKey name="deny-urls" supported={["javascript"]} notSupported={["node"]}>
262262

263-
A list of strings or regex patterns that match error URLs that should not be sent to Sentry. By default, all errors will be sent. This is a "contains" match to the entire file URL. As a result, if you add `foo.com` to it, it will also match on `https://bar.com/myfile/foo.com`. By default, all errors will be sent.
263+
A list of strings or regex patterns that match error URLs that should not be sent to Sentry. Errors whose entire file URL contains (string) or matches (regex) at least one entry in the list will not be sent. As a result, if you add `'foo.com'` to the list, it will also match on `https://bar.com/myfile/foo.com`. By default, all errors are sent.
264264

265265
</ConfigKey>
266266

267267
<ConfigKey name="allow-urls" supported={["javascript"]} notSupported={["node"]}>
268268

269-
A list of strings or regex patterns that match error URLs which should exclusively be sent to Sentry. By default, all errors
270-
will be sent. This is a "contains" match to the entire file URL. As a result, if you add `foo.com` to it, it will also match on `https://bar.com/myfile/foo.com`. By default, all errors will be sent.
269+
A list of strings or regex patterns that match error URLs which should exclusively be sent to Sentry. If you use this option, only errors whose entire file URL contains (string) or matches (regex) at least one entry in the list will be sent. As a result, if you add `'foo.com'` to it, it will also match on `https://bar.com/myfile/foo.com`. By default, all errors are sent.
271270

272271
</ConfigKey>
273272

0 commit comments

Comments
 (0)