File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
packages/tracing/src/browser Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -143,8 +143,6 @@ export function instrumentOutgoingRequests(_options?: Partial<RequestInstrumenta
143
143
* A function that determines whether to attach tracing headers to a request.
144
144
* This was extracted from `instrumentOutgoingRequests` to make it easier to test shouldAttachHeaders.
145
145
* We only export this fuction for testing purposes.
146
- *
147
- * TODO (v8): Remove `tracingOrigins` which should drastically simplify this function.
148
146
*/
149
147
export function shouldAttachHeaders ( url : string , tracePropagationTargets : ( string | RegExp ) [ ] | undefined ) : boolean {
150
148
return stringMatchesSomePattern ( url , tracePropagationTargets || DEFAULT_TRACE_PROPAGATION_TARGETS ) ;
You can’t perform that action at this time.
0 commit comments