regexper-static/lib/partials/sentry.hbs

9 lines
242 B
Handlebars
Raw Normal View History

{{#if sentryKey}}
<script src="https://cdn.ravenjs.com/3.17.0/raven.min.js" crossorigin="anonymous"></script>
<script>
Raven.config('{{{sentryKey}}}', {
whitelistUrls: [/https:\/\/(.*\.)?regexper\.com/]
}).install()
</script>
{{/if}}