Skip to content

Commit

Permalink
Remove Bugsnag cloudfront js from index
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Holmes committed Mar 13, 2015
1 parent 42668f2 commit baad9c5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,9 @@ module.exports = {
bugsnagConfig = readConfig();

content = [
'<script ',
'src="//d2wy8f7a9ursnm.cloudfront.net/bugsnag-2.min.js" ',
'data-appversion="' + config.currentRevision + '" ',
'data-apikey="' + bugsnagConfig.apiKey + '">',
'</script>',
'<script>',
'Bugsnag.apiKey = "' + bugsnagConfig.apiKey + '";',
'Bugsnag.appVersion = "' + config.curentRevision + '";',
'Bugsnag.releaseStage = "' + config.environment + '";',
'Bugsnag.notifyReleaseStages = ["' + config.environment + '"];',
'</script>'
Expand Down

0 comments on commit baad9c5

Please sign in to comment.