diff --git a/demo/config.js b/demo/config.js index d4c22120..f3e035c7 100644 --- a/demo/config.js +++ b/demo/config.js @@ -4,7 +4,7 @@ if (process.env.NODE_ENV === 'development') { config.url = 'http://localhost:3000'; config.env = 'dev'; } else { - config.url = 'https://iiif-react-media-player.netlify.app'; + config.url = 'https://ramp-iiif.netlify.app'; config.env = 'prod'; } diff --git a/netlify.toml b/netlify.toml index 8906c522..1381e1ac 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,6 @@ [build] command = "yarn demo:build" include_files = [ "public" ] +[[redirects]] + from = "https://ramp-iiif.netlify.app" + to = "/" diff --git a/public/prod/lunchroom_manners.json b/public/prod/lunchroom_manners.json index 7a5364c8..4bcb5062 100644 --- a/public/prod/lunchroom_manners.json +++ b/public/prod/lunchroom_manners.json @@ -1,6 +1,6 @@ { "@context": "http://iiif.io/api/presentation/3/context.json", - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners.json", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners.json", "type": "Manifest", "label": { "en": [ @@ -8,9 +8,9 @@ ] }, "start": { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners.json", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners.json", "type": "SpecificResource", - "source": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/canvas/1", + "source": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/canvas/1", "selector": { "type": "PointSelector", "t": 180 @@ -18,7 +18,7 @@ }, "rendering": [ { - "id": "https://iiif-react-media-player.netlify.app/lunchroom_manners/lunchroom_manners.vtt", + "id": "https://ramp-iiif.netlify.app/lunchroom_manners/lunchroom_manners.vtt", "type": "Text", "label": { "en": [ @@ -28,7 +28,7 @@ "format": "text/vtt" }, { - "id": "https://iiif-react-media-player.netlify.app/lunchroom_manners/lunchroom_manners_poster.jpg", + "id": "https://ramp-iiif.netlify.app/lunchroom_manners/lunchroom_manners_poster.jpg", "type": "Image", "label": { "en": [ @@ -40,18 +40,18 @@ ], "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/canvas/1", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/canvas/1", "type": "Canvas", "height": 360, "width": 480, "duration": 572.034, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/canvas/1/page", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/canvas/1/page", "type": "AnnotationPage", "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/canvas/1/page/annotation", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/canvas/1/page/annotation", "type": "Annotation", "motivation": "painting", "body": [ @@ -60,7 +60,7 @@ "choiceHint": "user", "items": [ { - "id": "https://iiif-react-media-player.netlify.app/lunchroom_manners/high/lunchroom_manners_1024kb.mp4", + "id": "https://ramp-iiif.netlify.app/lunchroom_manners/high/lunchroom_manners_1024kb.mp4", "type": "Video", "format": "video/mp4", "label": { @@ -70,7 +70,7 @@ } }, { - "id": "https://iiif-react-media-player.netlify.app/lunchroom_manners/medium/lunchroom_manners_512kb.mp4", + "id": "https://ramp-iiif.netlify.app/lunchroom_manners/medium/lunchroom_manners_512kb.mp4", "type": "Video", "format": "video/mp4", "label": { @@ -80,7 +80,7 @@ } }, { - "id": "https://iiif-react-media-player.netlify.app/lunchroom_manners/low/lunchroom_manners_256kb.mp4", + "id": "https://ramp-iiif.netlify.app/lunchroom_manners/low/lunchroom_manners_256kb.mp4", "type": "Video", "format": "video/mp4", "label": { @@ -99,15 +99,15 @@ ], "annotations": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/canvas/1/page/2", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/canvas/1/page/2", "type": "AnnotationPage", "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/canvas/1/annotation/webvtt", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/canvas/1/annotation/webvtt", "type": "Annotation", "motivation": "supplementing", "body": { - "id": "https://iiif-react-media-player.netlify.app/lunchroom_manners/lunchroom_manners.vtt", + "id": "https://ramp-iiif.netlify.app/lunchroom_manners/lunchroom_manners.vtt", "type": "Text", "format": "text/vtt", "label": { @@ -125,7 +125,7 @@ ], "structures": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/0", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/0", "type": "Range", "label": { "en": [ @@ -134,7 +134,7 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/1", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/1", "type": "Range", "label": { "en": [ @@ -143,7 +143,7 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/1-1", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/1-1", "type": "Range", "label": { "en": [ @@ -152,7 +152,7 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/1-1-1", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/1-1-1", "type": "Range", "label": { "en": [ @@ -161,13 +161,13 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/canvas/1#t=157,160", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/canvas/1#t=157,160", "type": "Canvas" } ] }, { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/1-1-3", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/1-1-3", "type": "Range", "label": { "en": [ @@ -176,13 +176,13 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/canvas/1#t=165,170", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/canvas/1#t=165,170", "type": "Canvas" } ] }, { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/1-2", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/1-2", "type": "Range", "label": { "en": [ @@ -191,7 +191,7 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/1-2-1", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/1-2-1", "type": "Range", "label": { "en": [ @@ -200,13 +200,13 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/canvas/1#t=170,180", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/canvas/1#t=170,180", "type": "Canvas" } ] }, { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/1-2-2", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/1-2-2", "type": "Range", "label": { "en": [ @@ -215,7 +215,7 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/canvas/1#t=180,190", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/canvas/1#t=180,190", "type": "Canvas" } ] @@ -225,7 +225,7 @@ ] }, { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/2", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/2", "type": "Range", "label": { "en": [ @@ -234,7 +234,7 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/2-1", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/2-1", "type": "Range", "label": { "en": [ @@ -243,7 +243,7 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/2-1-1", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/2-1-1", "type": "Range", "label": { "en": [ @@ -252,13 +252,13 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/canvas/1#t=227,245", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/canvas/1#t=227,245", "type": "Canvas" } ] }, { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/2-1-2", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/2-1-2", "type": "Range", "label": { "en": [ @@ -267,13 +267,13 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/canvas/1#t=258,288", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/canvas/1#t=258,288", "type": "Canvas" } ] }, { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/2-1-3", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/2-1-3", "type": "Range", "label": { "en": [ @@ -282,7 +282,7 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/canvas/1#t=301,308", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/canvas/1#t=301,308", "type": "Canvas" } ] @@ -290,7 +290,7 @@ ] }, { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/2-2", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/2-2", "type": "Range", "label": { "en": [ @@ -299,7 +299,7 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/2-2-1", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/2-2-1", "type": "Range", "label": { "en": [ @@ -308,13 +308,13 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/canvas/1#t=323,333", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/canvas/1#t=323,333", "type": "Canvas" } ] }, { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/2-2-2", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/2-2-2", "type": "Range", "label": { "en": [ @@ -323,7 +323,7 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/canvas/1#t=362,378", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/canvas/1#t=362,378", "type": "Canvas" } ] @@ -331,7 +331,7 @@ ] }, { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/2-3", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/2-3", "type": "Range", "label": { "en": [ @@ -340,7 +340,7 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/2-3-1", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/2-3-1", "type": "Range", "label": { "en": [ @@ -349,13 +349,13 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/canvas/1#t=448,492", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/canvas/1#t=448,492", "type": "Canvas" } ] }, { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/range/2-3-2", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/range/2-3-2", "type": "Range", "label": { "en": [ @@ -364,7 +364,7 @@ }, "items": [ { - "id": "https://iiif-react-media-player.netlify.app/prod/lunchroom_manners/canvas/1#t=511,527", + "id": "https://ramp-iiif.netlify.app/prod/lunchroom_manners/canvas/1#t=511,527", "type": "Canvas" } ] @@ -380,7 +380,7 @@ ], "thumbnail": [ { - "id": "https://iiif-react-media-player.netlify.app/lunchroom_manners/lunchroom_manners_poster.jpg", + "id": "https://ramp-iiif.netlify.app/lunchroom_manners/lunchroom_manners_poster.jpg", "type": "Image" } ]