gatsby-plugin-sentry icon indicating copy to clipboard operation
gatsby-plugin-sentry copied to clipboard

CORS fails when plugin is activated

Open jdozierezell opened this issue 4 years ago • 0 comments

Whenever I activate the Sentry plugin, I get a set of CORS errors that I don't receive without the plugin. I can't figure out what might be causing them. Below is the code in gatsby-config.js along with an example of the live site (without Sentry) and staging (with Sentry).

{
        resolve: '@sentry/gatsby',
	options: {
		dsn: 'https://***sentry.io/***',
		sampleRate: 1,
		tracesSampleRate: 1,
	},
},

Live site: https://afsp.org/chapter/eastern-pennsylvania Staging with Sentry: https://staging--reverent-payne-b0d24a.netlify.app/chapter/eastern-pennsylvania

Any idea why CORS fails with Sentry activated?

jdozierezell avatar Nov 02 '20 19:11 jdozierezell