You've already forked AstralRinth
forked from didirus/AstralRinth
Update Mojang meta URL (#379)
Urgent, needs to be on prod before the next snapshot comes out
This commit is contained in:
@@ -96,7 +96,7 @@ async fn update_versions(
|
|||||||
pool: &sqlx::Pool<sqlx::Postgres>,
|
pool: &sqlx::Pool<sqlx::Postgres>,
|
||||||
) -> Result<(), VersionIndexingError> {
|
) -> Result<(), VersionIndexingError> {
|
||||||
let input = reqwest::get(
|
let input = reqwest::get(
|
||||||
"https://launchermeta.mojang.com/mc/game/version_manifest.json",
|
"https://piston-meta.mojang.com/mc/game/version_manifest_v2.json",
|
||||||
)
|
)
|
||||||
.await?
|
.await?
|
||||||
.json::<InputFormat>()
|
.json::<InputFormat>()
|
||||||
|
|||||||
Reference in New Issue
Block a user