Whitelisting regexper domain for sentry

This commit is contained in:
Jeff Avallone 2017-07-30 18:54:28 -04:00
parent a42ecb9c36
commit c009f21191

View File

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