diff --git a/src/lib/api/addons.ts b/src/lib/api/addons.ts index 1d1fdec7b..28406a902 100644 --- a/src/lib/api/addons.ts +++ b/src/lib/api/addons.ts @@ -19,7 +19,7 @@ export async function getAddons( fetch = globalThis.fetch, params: AddOnParams = {}, ): Promise> { - const endpoint = new URL("/addons", BASE_API_URL); + const endpoint = new URL("addons", BASE_API_URL); Object.entries(params).forEach(([key, value]) => { endpoint.searchParams.set(key, String(value)); });