提交 12c3503a 编写于 作者: C codecalm

sentry init

上级 a1abd45f
<script
src="https://browser.sentry-cdn.com/5.27.6/bundle.tracing.min.js"
integrity="sha384-9Z8PxByVWP+gIm/rTMPn9BWwknuJR5oJcLj+Nr9mvzk8nJVkVXgQvlLGZ9SIFEJF"
crossorigin="anonymous"
></script>
<script>
Sentry.init({
dsn: "https://8e4ad02f495946f888620f9fb99fd495@o484108.ingest.sentry.io/5536918",
release: "tabler@{{ site.data.package.version }}",
integrations: [
new Sentry.Integrations.BrowserTracing()
],
tracesSampleRate: 1.0,
});
</script>
\ No newline at end of file
......@@ -36,6 +36,7 @@
{% endif %}
{% include layout/css.html %}
<style>
body { display: none; }
</style>
......@@ -48,6 +49,10 @@
{% include layout/modals-capture.html %}
{% if jekyll.environment == 'preview' %}
{% include layout/sentry.html %}
{% endif %}
{% include layout/js.html %}
{% if site.debug and jekyll.environment == 'development' %}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册