show-a-license 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -104,7 +104,7 @@ function doRequest(url) {
104
104
  }
105
105
 
106
106
  function getLicense(license, fn) {
107
- sameTime([doRequest("/licenses/" + license + ".txt"), doRequest("/explanations/" + license + ".txt")], function (err, data) {
107
+ sameTime([doRequest("https://ionicabizau.github.io/show-a-license/licenses/" + license + ".txt"), doRequest("https://ionicabizau.github.io/show-a-license/explanations/" + license + ".txt")], function (err, data) {
108
108
  if (err) {
109
109
  return fn(err);
110
110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "show-a-license",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "A site to provide an easy way to show licenses and their human-readable explanations.",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {