Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 5s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Successful in 1m41s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
- Resized and compressed oversized logo (204KB -> 21KB) - Optimized large media images (hs-kabel.png, contact-hero.jpg) - Implemented dynamic lazy-loading for home page sections - Tuned Sentry traces sample rate (1.0 -> 0.1) - Refined font loading and fixed redundant analytics tracking
14 lines
382 B
TypeScript
14 lines
382 B
TypeScript
import * as Sentry from "@sentry/nextjs";
|
|
import { config } from "./lib/config";
|
|
|
|
if (config.errors.glitchtip.enabled) {
|
|
Sentry.init({
|
|
dsn: config.errors.glitchtip.dsn,
|
|
tracesSampleRate: 0.1,
|
|
debug: config.isDevelopment,
|
|
environment: config.target || "production",
|
|
// Use the proxy path defined in config
|
|
tunnel: config.errors.glitchtip.proxyPath,
|
|
});
|
|
}
|