From 35c262a28dd332dae4f43fb82b4512d328d47b00 Mon Sep 17 00:00:00 2001 From: Emma Mansell <73774046+7emansell@users.noreply.github.com> Date: Tue, 19 Nov 2024 10:50:30 -0500 Subject: [PATCH] I am confused --- app/src/models/collectionCard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/models/collectionCard.ts b/app/src/models/collectionCard.ts index 8948cc89..113c7a05 100644 --- a/app/src/models/collectionCard.ts +++ b/app/src/models/collectionCard.ts @@ -17,7 +17,7 @@ export class CollectionCardModel { this.title = data.title; this.url = process.env.APP_ENV === "production" - ? data.url.replace("https://digitalcollections.nypl.org", "") + ? data.url : `/collections/${data.uuid}`; this.imageID = data.image_id || data.imageID; this.imageURL = imageURL(data.imageID, "full", "288,", "0");