Skip to content

Commit

Permalink
Okay fr
Browse files Browse the repository at this point in the history
  • Loading branch information
7emansell committed Nov 20, 2024
1 parent 1fd28d2 commit c6449cd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/src/models/collectionCard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ export class CollectionCardModel {
constructor(data: any) {
this.uuid = data.uuid;
this.title = data.title;
this.url =
process.env.APP_ENV === "production"
? `https://digitalcollections.nypl.org/collections/${data.uuid}`
: `/collections/${data.uuid}`;
this.url = `/collections/${data.uuid}`;
this.imageID = data.image_id || data.imageID;
this.imageURL = imageURL(data.imageID, "full", "288,", "0");
this.numberOfDigitizedItems =
Expand Down

0 comments on commit c6449cd

Please sign in to comment.