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.
- package/lib/index.js +1 -1
- 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
|
}
|