Skip to content

Commit

Permalink
update broken nukkit URIs
Browse files Browse the repository at this point in the history
URIs are HTTP 301 Permanently Moved. This doesn't seem to be handled well with npm request.  Updating the URIs for immediate use.
  • Loading branch information
hexparrot authored Nov 4, 2019
1 parent aa729c5 commit f0c41d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions profiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ exports.profile_manifests = {
item['downloaded'] = fs.existsSync(path.join(profile_dir, item.id, item.filename));
item['version'] = 0;
item['release_version'] = '';
item['url'] = 'http://ci.mengcraft.com:8080/job/nukkit/lastStableBuild/artifact/target/nukkit-1.0-SNAPSHOT.jar';
item['url'] = 'http://ci.mengcraft.com:8081/job/nukkit/lastStableBuild/artifact/target/nukkit-1.0-SNAPSHOT.jar';

p.push(item);

Expand All @@ -686,7 +686,7 @@ exports.profile_manifests = {
item['downloaded'] = fs.existsSync(path.join(profile_dir, item.id, item.filename));
item['version'] = 0;
item['release_version'] = '';
item['url'] = 'http://ci.mengcraft.com:8080/job/nukkit/lastSuccessfulBuild/artifact/target/nukkit-1.0-SNAPSHOT.jar';
item['url'] = 'http://ci.mengcraft.com:8081/job/nukkit/lastSuccessfulBuild/artifact/target/nukkit-1.0-SNAPSHOT.jar';

p.push(item);
} catch (e) {}
Expand Down

0 comments on commit f0c41d1

Please sign in to comment.