96270.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. "use strict";
  2. exports.id = 96270;
  3. exports.ids = [96270];
  4. exports.modules = {
  5. /***/ 96270:
  6. /***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
  7. /* harmony import */ var _sentry_nextjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(58097);
  8. /* harmony import */ var _sentry_nextjs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_sentry_nextjs__WEBPACK_IMPORTED_MODULE_0__);
  9. var _sentryCollisionFreeGlobalObject = false ? 0 : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
  10. _sentryCollisionFreeGlobalObject["__sentryRewritesTunnelPath__"] = undefined;
  11. _sentryCollisionFreeGlobalObject["SENTRY_RELEASE"] = {
  12. "id": "2uV0wUPjuliCZ-54V6Vdd"
  13. };
  14. _sentryCollisionFreeGlobalObject["__sentryBasePath"] = undefined;
  15. _sentryCollisionFreeGlobalObject["__rewriteFramesDistDir__"] = ".next";
  16. // This file configures the initialization of Sentry on the server.
  17. // The config you add here will be used whenever the server handles a request.
  18. // https://docs.sentry.io/platforms/javascript/guides/nextjs/
  19. const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN;
  20. const SENTRY_ENABLED = process.env.NEXT_PUBLIC_SERVER_SENTRY_ENABLED === "true";
  21. const isDev = "production" === "development";
  22. _sentry_nextjs__WEBPACK_IMPORTED_MODULE_0__.init({
  23. enabled: SENTRY_ENABLED,
  24. dsn: SENTRY_ENABLED ? SENTRY_DSN : null,
  25. // Set tracesSampleRate to 1.0 to capture 100%
  26. // of transactions for performance monitoring.
  27. // We recommend adjusting this value in production
  28. tracesSampleRate: isDev ? 1 : 0,
  29. debug: isDev
  30. });
  31. /***/ })
  32. };
  33. ;
  34. //# sourceMappingURL=96270.js.map