diff --git a/webUI/resource-pack-page.js b/webUI/resource-pack-page.js index 8e1d4409..2d7fb40c 100644 --- a/webUI/resource-pack-page.js +++ b/webUI/resource-pack-page.js @@ -133,7 +133,7 @@ function downloadSelectedTweaks() { const serverip = 'localhost'; function fetchPack(protocol, jsonData,packName) { - fetch(`${protocol}://${serverip}/exportPack`, { + fetch(`${protocol}://${serverip}/exportResourcePack`, { method: 'POST', headers: { 'Content-Type': 'application/json',