Skip to content

Commit 4604b9d

Browse files
committed
fixed iiif url
1 parent 01b716e commit 4604b9d

File tree

7 files changed

+557
-5
lines changed

7 files changed

+557
-5
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ for (const spriteWidth of spriteWidths) {
9494

9595
const { w: width, h: height } = potpack(boxes)
9696

97-
const spritesIiifImageId = `${githubPagesBaseUrl}/${annotationsId}/${spriteWidth}/`
97+
const spritesIiifImageId = `${githubPagesBaseUrl}/${annotationsId}/${spriteWidth}`
9898

9999
const sprites = await sharp({
100100
create: {

output/0046a8c125f4a87b/128/iiif/info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@context": "http://iiif.io/api/image/3/context.json",
3-
"id": "https://pages.allmaps.org/sprite-test/0046a8c125f4a87b/128//iiif",
3+
"id": "https://pages.allmaps.org/sprite-test/0046a8c125f4a87b/128/iiif",
44
"type": "ImageService3",
55
"profile": "level0",
66
"protocol": "http://iiif.io/api/image",

0 commit comments

Comments
 (0)