Remove deprecated API format

The old format no longer works and will return a 500 errors due to a bug in the underlying framework. Let's remove it in favor of the proper path-based implementation.
pull/186/head
Androidacy Service Account 2 years ago committed by GitHub
parent 3bfa064562
commit c13ad9daae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -191,11 +191,11 @@ public class AndroidacyRepoData extends RepoData {
jsonObject.optString("notesUrl", ""));
if (repoModule.zipUrl == null) {
repoModule.zipUrl = // Fallback url in case the API doesn't have zipUrl
"https://" + this.host + "/magisk/info/?module=" + moduleId;
"https://" + this.host + "/magisk/info/" + moduleId;
}
if (repoModule.notesUrl == null) {
repoModule.notesUrl = // Fallback url in case the API doesn't have notesUrl
"https://" + this.host + "/magisk/readme/?module=" + moduleId;
"https://" + this.host + "/magisk/readme/" + moduleId;
}
repoModule.zipUrl = this.injectToken(repoModule.zipUrl);
repoModule.notesUrl = this.injectToken(repoModule.notesUrl);

Loading…
Cancel
Save