Update Mojang meta URL (#379)
Urgent, needs to be on prod before the next snapshot comes out
This commit is contained in:
parent
bf19f5b9c0
commit
3e5c7f62d0
@ -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>()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user