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:
@@ -283,6 +283,7 @@ async fn main() -> std::io::Result<()> {
|
||||
.service(routes::index_get)
|
||||
.service(routes::health_get)
|
||||
.service(web::scope("maven").configure(routes::maven_config))
|
||||
.service(web::scope("updates").configure(routes::updates))
|
||||
.default_service(web::get().to(routes::not_found))
|
||||
})
|
||||
.bind(dotenv::var("BIND_ADDR").unwrap())?
|
||||
|
||||
Reference in New Issue
Block a user