mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
- Added Sentry module to nuxt.config.ts and configured it for both client and server. - Updated package.json to include @sentry/nuxt dependency. - Created sentry.client.config.ts and sentry.server.config.ts for Sentry initialization with appropriate settings. - Adjusted route rules and added additional configurations in nuxt.config.ts.
12 lines
418 B
TypeScript
12 lines
418 B
TypeScript
import * as Sentry from "@sentry/nuxt";
|
|
|
|
Sentry.init({
|
|
dsn: "https://1bbb1ceec04d13efdffa583ac5453e08@o4507948895174656.ingest.us.sentry.io/4509303135862784",
|
|
|
|
// We recommend adjusting this value in production, or using tracesSampler
|
|
// for finer control
|
|
tracesSampleRate: 1.0,
|
|
|
|
// Setting this option to true will print useful information to the console while you're setting up Sentry.
|
|
debug: false,
|
|
});
|