Skip to content

Commit 999dd9f

Browse files
committed
update
1 parent 5296648 commit 999dd9f

File tree

1 file changed

+1
-1
lines changed
  • packages/tracing-internal/src/browser/metrics

1 file changed

+1
-1
lines changed

packages/tracing-internal/src/browser/metrics/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ export function _addResourceSpans(
430430
data['server.address'] = resourceUrl.host;
431431
}
432432

433-
data['url.same_origin'] = resourceUrl.host === window.location.host;
433+
data['url.same_origin'] = resourceUrl.host === WINDOW.location.host;
434434

435435
const startTimestamp = timeOrigin + startTime;
436436
const endTimestamp = startTimestamp + duration;

0 commit comments

Comments
 (0)