-
Notifications
You must be signed in to change notification settings - Fork 0
/
sentry.client.config.ts
36 lines (35 loc) · 1.16 KB
/
sentry.client.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import * as Sentry from "@sentry/nextjs";
import { token } from "@styled-system/tokens";
Sentry.init({
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
tracesSampleRate: 1,
debug: false,
replaysOnErrorSampleRate: 1.0,
replaysSessionSampleRate: 0.1,
integrations: [
Sentry.replayIntegration({
maskAllText: true,
blockAllMedia: true,
}),
Sentry.feedbackIntegration({
colorScheme: "light",
showName: false,
showEmail: false,
isNameRequired: false,
isEmailRequired: false,
showBranding: false,
buttonLabel: "不具合の報告はこちら",
formTitle: "不具合の報告フォーム",
messageLabel: "不具合の内容",
messagePlaceholder: "企画に関するお問い合わせは、[email protected]までお送りください。",
submitButtonLabel: "不具合を報告",
cancelButtonLabel: "キャンセル",
themeLight: {
submitBorder: token("colors.tsukuba.purple"),
submitOutlineFocus: "rgba(102, 0, 204, 0.75)",
submitBackground: token("colors.tsukuba.purple"),
submitBackgroundHover: "rgba(102, 0, 204, 0.75)",
},
}),
],
});