Here is our Sentry configuration:
'@sentry/ember': {
sentry: {
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 0.1,
disablePerformance: true,
},
},
Any call to localhost
in our Ember application seems to contain a sentry-trace
header.
It raises the following error:
Access to XMLHttpRequest at 'http://localhost:3310/*****' from origin 'http://*******' has been blocked by CORS policy: Request header field sentry-trace is not allowed by Access-Control-Allow-Headers in preflight response.
How can we deactivate this and prevent header to be added to business requests?
Thanks for your help.