Skip to content

Commit e6b7651

Browse files
authored
Turn off Sentry replays to save some privacy and ~40k of gzipped JS.
See https://docs.sentry.io/platforms/javascript/guides/astro/session-replay/#set-up.
1 parent 273b05f commit e6b7651

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

webserver/astro.config.mjs

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ export default defineConfig({
1313
dsn: process.env.SENTRY_DSN,
1414
release: process.env.SENTRY_RELEASE,
1515
environment: process.env.SENTRY_ENVIRONMENT ?? "development",
16+
replaysSessionSampleRate: 0,
17+
replaysOnErrorSampleRate: 0,
1618
sourceMapsUploadOptions: {
1719
org: "jeffrey-yasskin",
1820
project: "vlach-cookbook",

0 commit comments

Comments
 (0)