You've already forked AstralRinth
forked from didirus/AstralRinth
Automatically generate updates.json for Forge mods (#298)
* Automatically generate updates.json for Forge mods https://api.modrinth.com/updates/{id}/forge_updates.json serves a minimal update JSON for the Forge update checker Closes #281 * Authenticate update JSON requests Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
This commit is contained in:
@@ -13,6 +13,7 @@ mod projects;
|
||||
mod reports;
|
||||
mod tags;
|
||||
mod teams;
|
||||
mod updates;
|
||||
mod users;
|
||||
mod version_creation;
|
||||
mod version_file;
|
||||
@@ -75,6 +76,10 @@ pub fn maven_config(cfg: &mut web::ServiceConfig) {
|
||||
cfg.service(maven::version_file);
|
||||
}
|
||||
|
||||
pub fn updates(cfg: &mut web::ServiceConfig) {
|
||||
cfg.service(updates::forge_updates);
|
||||
}
|
||||
|
||||
pub fn versions_config(cfg: &mut web::ServiceConfig) {
|
||||
cfg.service(versions::versions_get);
|
||||
cfg.service(version_creation::version_create);
|
||||
|
||||
Reference in New Issue
Block a user