Skip to content

Commit

Permalink
fix: exclude entry "list" from manifest creation
Browse files Browse the repository at this point in the history
  • Loading branch information
katharinawuensche committed Sep 23, 2024
1 parent fa1e117 commit f3f769f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/generate-iiif-manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ async function main() {
fs.mkdirSync(outputPath);
}
const builder = new IIIFBuilder();
const books = (await request(iiifBaseURL.replace("/iiif/", "/"), {
let books = (await request(iiifBaseURL.replace("/iiif/", "/"), {
responseType: "json",
})) as Array<string>;
books = books.filter((book) => book !== "list");
const imagesPerBook: Array<Array<string>> = (await Promise.all(
books.map((book) =>
request(
Expand Down

0 comments on commit f3f769f

Please sign in to comment.