Skip to content

Commit

Permalink
Add rollbar and remove sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
diegovalle committed Sep 12, 2024
1 parent f01e3cd commit d1b5282
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion elcri.men/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ module.exports = {
'cache-control: max-age=2592000',
'cache-control: immutable',
],
'/*.css': [
'cache-control: public',
'cache-control: max-age=2592000',
'cache-control: immutable',
],
},
},
},
Expand Down Expand Up @@ -188,7 +193,7 @@ module.exports = {
resolve: `gatsby-plugin-sitemap`,
resolveSiteUrl: `https://elcri.men`,
options: {
exclude: [`/es`, `/tags/links`],
exclude: [`/es/*`, '/es/'],
},
},
{
Expand All @@ -197,6 +202,8 @@ module.exports = {
accessToken: '86e02448bb5c40e7b79d735a9ed1282c',
// For all configuration options, see https://docs.rollbar.com/docs/rollbarjs-configuration-reference
captureUncaught: true,
maxItems: 10,
itemsPerMinute: 5,
captureUnhandledRejections: true,
payload: {
environment: 'production',
Expand Down

0 comments on commit d1b5282

Please sign in to comment.