mirror of
https://github.com/wangdage12/Snap.Server.Web.git
synced 2026-07-30 23:40:32 +08:00
添加router参数
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ Sentry.init({
|
|||||||
// Setting this option to true will send default PII data to Sentry.
|
// Setting this option to true will send default PII data to Sentry.
|
||||||
// For example, automatic IP address collection on events
|
// For example, automatic IP address collection on events
|
||||||
sendDefaultPii: true,
|
sendDefaultPii: true,
|
||||||
integrations: [Sentry.browserTracingIntegration()],
|
integrations: [Sentry.browserTracingIntegration({ router })],
|
||||||
tracesSampleRate: 0.2,
|
tracesSampleRate: 0.2,
|
||||||
tracePropagationTargets: ["localhost", "https://htserver.wdg.cloudns.ch/"],
|
tracePropagationTargets: ["localhost", "https://htserver.wdg.cloudns.ch/"],
|
||||||
// Session Replay
|
// Session Replay
|
||||||
|
|||||||
Reference in New Issue
Block a user