fix: sentry, img validation

This commit is contained in:
Aslam H
2024-09-10 20:03:25 +07:00
parent 7f2b594cb3
commit b7e7f79a40
6 changed files with 108 additions and 17 deletions

View File

@@ -64,11 +64,11 @@ export default withSentryConfig(nextConfig, {
enabled: true
},
// Route browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers.
// Uncomment to route browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers.
// This can increase your server load as well as your hosting bill.
// Note: Check that the configured route will not match with your Next.js middleware, otherwise reporting of client-
// side errors will fail.
tunnelRoute: "/monitoring",
// tunnelRoute: "/monitoring",
// Hides source maps from generated client bundles
hideSourceMaps: true,