Skip to content

Commit

Permalink
not spreading array
Browse files Browse the repository at this point in the history
  • Loading branch information
s1gr1d committed Jul 30, 2024
1 parent da38ebd commit c128d84
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/nuxt/src/runtime/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,8 @@ export function addSentryTracingMetaTags(head: NuxtRenderHTMLContext['head']): v
const dynamicSamplingContext = dynamicSamplingContextToSentryBaggageHeader(
getDynamicSamplingContextFromSpan(rootSpan),
);
const contentMeta = [
`<meta name="sentry-trace" content="${traceParentData}"/>`,
`<meta name="baggage" content="${dynamicSamplingContext}"/>`,
];

head.push(...contentMeta);
head.push(`<meta name="sentry-trace" content="${traceParentData}"/>`);
head.push(`<meta name="baggage" content="${dynamicSamplingContext}"/>`);
}
}

0 comments on commit c128d84

Please sign in to comment.