Created
May 8, 2015 18:28
-
-
Save brianr/e2c5ea89a51e167ce655 to your computer and use it in GitHub Desktop.
rollbar.js config example - force https
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
awesome!