Please help with my problem. I install sentry how module to Nuxt.js 2. It's worked, but i have another problem with CORS.
i do not understand how fix this error.
enter image description here
Maybe me need set auth token in config sentry init()?
Solution with set in headers Access-Control-Allow-Origin: '*' in server not worked on me.
i use "nuxt": "2.14.5"," @nuxtjs/sentry": "^5.1.7" in my project.
my nuxt.js.config:
modules: ['@nuxtjs/axios', '@nuxtjs/auth', '@nuxtjs/sentry'],
sentry: { dsn: process.env.SENTRY_DSN || '', injectMock: true, injectLoadHook: false, mockApiMethods: true, chunkName: 'sentry', webpackPrefetch: false, webpackPreload: false, },