Skip to content

Commit

Permalink
chore: use new url format for cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
waltjones committed Mar 6, 2020
1 parent 9ffc13b commit 8a77a63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
__DEFAULT_LOG_LEVEL__: JSON.stringify(pkg.defaults.logLevel),
__DEFAULT_REPORT_LEVEL__: JSON.stringify(pkg.defaults.reportLevel),
__DEFAULT_UNCAUGHT_ERROR_LEVEL: JSON.stringify(pkg.defaults.uncaughtErrorLevel),
__DEFAULT_ROLLBARJS_URL__: JSON.stringify('https://' + pkg.cdn.host + '/ajax/libs/rollbar.js/' + version + '/rollbar.min.js'),
__DEFAULT_ROLLBARJS_URL__: JSON.stringify('https://' + pkg.cdn.host + '/rollbarjs/refs/tags/v' + version + '/rollbar.min.js'),
__DEFAULT_MAX_ITEMS__: pkg.defaults.maxItems,
__DEFAULT_ITEMS_PER_MIN__: pkg.defaults.itemsPerMin
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"lint": "./node_modules/.bin/eslint . --ext .js"
},
"cdn": {
"host": "cdnjs.cloudflare.com"
"host": "cdn.rollbar.com"
},
"defaults": {
"endpoint": "api.rollbar.com/api/1/item/",
Expand Down

0 comments on commit 8a77a63

Please sign in to comment.