Skip to content

Instantly share code, notes, and snippets.

@brianr
Created May 8, 2015 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianr/e2c5ea89a51e167ce655 to your computer and use it in GitHub Desktop.
Save brianr/e2c5ea89a51e167ce655 to your computer and use it in GitHub Desktop.
rollbar.js config example - force https
var _rollbarConfig = {
// force rollbar.js to load over HTTPS
rollbarJsUrl: 'https://d37gvrvc0wt4s1.cloudfront.net/js/v1.2/rollbar.min.js',
// force requests to api.rollbar.com to be made over HTTPS
endpoint: 'https://api.rollbar.com/api/1/',
// rest of your configuration here...
accessToken: "12c99de67a444c229fca100e0967486f",
captureUncaught: true,
payload: {
environment: "test"
}
};
@ismriv
Copy link

ismriv commented May 8, 2015

awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment