You've already forked AstralRinth
forked from didirus/AstralRinth
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>
This commit is contained in:
11
apps/frontend/src/server/plugins/sentry-cloudflare-plugin.ts
Normal file
11
apps/frontend/src/server/plugins/sentry-cloudflare-plugin.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
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__,
|
||||
}),
|
||||
)
|
||||
Reference in New Issue
Block a user