Update Mojang meta URL (#379)

Urgent, needs to be on prod before the next snapshot comes out
This commit is contained in:
Emma Cypress 2022-06-22 19:22:19 +00:00 committed by GitHub
parent bf19f5b9c0
commit 3e5c7f62d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ async fn update_versions(
pool: &sqlx::Pool<sqlx::Postgres>,
) -> Result<(), VersionIndexingError> {
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?
.json::<InputFormat>()