Use fill v3 API for fetching paper build versions (#5063)

This commit is contained in:
François-Xavier Talbot
2026-01-07 17:27:46 -05:00
committed by GitHub
parent 7eb1b38cc7
commit 3fd6ce1b6d

View File

@@ -315,7 +315,7 @@ const fetchLoaderVersions = async () => {
const fetchPaperVersions = async (mcVersion: string) => {
try {
const res = await $fetch(`https://api.papermc.io/v2/projects/paper/versions/${mcVersion}`)
const res = await $fetch(`https://fill.papermc.io/v3/projects/paper/versions/${mcVersion}`)
paperVersions.value[mcVersion] = (res as any).builds.sort((a: number, b: number) => b - a)
return res
} catch (e) {