Files
AstralRinth/apps/frontend/src/server/plugins/sentry-cloudflare-plugin.ts
Michael H. 716c4e9a21 deploy: add sentry to frontend server (#5118)
* deploy: add sentry to frontend server

* build: add sentry auth token to env

* fix: use sentry CLI for sourcemap upload instead

* feat: comment deploy

---------

Co-authored-by: Calum H. (IMB11) <contact@cal.engineer>
2026-01-14 17:46:55 +00:00

12 lines
341 B
TypeScript

import { sentryCloudflareNitroPlugin } from '@sentry/nuxt/module/plugins'
declare const __SENTRY_RELEASE__: string
export default defineNitroPlugin(
sentryCloudflareNitroPlugin({
dsn: 'https://9cf8f56ab7055ab6b1042fad535f2a44@o485889.ingest.us.sentry.io/4510709722185728',
tracesSampleRate: 1.0,
release: __SENTRY_RELEASE__,
}),
)