sentry 接入报跨域错误?

新手上路,请多包涵

image.png

配置如下:

import Vue from "vue";
import * as Sentry from '@sentry/browser';
import * as Integrations from '@sentry/integrations';

Sentry.init({
dsn: 'http://2972e1239afe470f901100...
integrations: [new Integrations.Vue({Vue, attachProps: true}), new Integrations.RewriteFrames()],
logErrors: true,
release: 'test@1.0.3',
});

阅读 5.3k
1 个回答

你可以尝试vue配置代理 dsn的地址

推荐问题