diff --git a/app/src/components/homePageMainContent/homePageMainContent.tsx b/app/src/components/homePageMainContent/homePageMainContent.tsx index e2eedb39..10497385 100644 --- a/app/src/components/homePageMainContent/homePageMainContent.tsx +++ b/app/src/components/homePageMainContent/homePageMainContent.tsx @@ -1,7 +1,6 @@ import React from "react"; import FeaturedContentComponent from "../featuredContent/featuredContent"; import { useEffect, useState } from "react"; -// import { DC_URL } from "@/src/config/constants"; import { Lane as DCLane } from "../lane/lane"; import LaneDataType from "@/src/types/Lane"; import LaneLoading from "../lane/laneLoading"; diff --git a/app/src/components/pages/divisionsPage/divisionsPage.tsx b/app/src/components/pages/divisionsPage/divisionsPage.tsx index 494c6be0..b18cb2f6 100644 --- a/app/src/components/pages/divisionsPage/divisionsPage.tsx +++ b/app/src/components/pages/divisionsPage/divisionsPage.tsx @@ -7,7 +7,6 @@ import { } from "@nypl/design-system-react-components"; import PageLayout from "../../pageLayout/pageLayout"; import React, { useEffect, useState } from "react"; -import { DC_URL } from "@/src/config/constants"; import { Lane as DCLane } from "../../lane/lane"; import LaneLoading from "../../lane/laneLoading"; import LaneDataType from "@/src/types/Lane"; diff --git a/app/src/utils/api.ts b/app/src/utils/api.ts index 3d91eb7d..458e9226 100644 --- a/app/src/utils/api.ts +++ b/app/src/utils/api.ts @@ -5,7 +5,6 @@ import { imageURL, addCommas } from "../utils/utils"; import appConfig from "../../../appConfig"; import defaultFeaturedItems from "../data/defaultFeaturedItemData"; import { CARDS_PER_PAGE } from "../config/constants"; -import { DC_URL } from "../config/constants"; export const getHomePageData = async () => { const randomNumber = Math.floor(Math.random() * 2); @@ -53,7 +52,7 @@ export const getFeaturedItemData = async () => { ), uuid: featuredImageData.uuid, title: featuredImageData.title, - href: `${DC_URL}/items/${featuredImageData.uuid}`, + href: `/items/${featuredImageData.uuid}`, }; const newResponse = { featuredItem: featuredItemObject, diff --git a/next.config.js b/next.config.js index 5ae65bd4..97d343c3 100644 --- a/next.config.js +++ b/next.config.js @@ -12,8 +12,6 @@ const nextConfig = { }, reactStrictMode: false, env: { - // DC_URL: process.env.DC_URL, - // IIIF_URL: process.env.IIIF_URL, ADOBE_EMBED_URL: process.env.ADOBE_EMBED_URL, APP_ENV: process.env.APP_ENV, NEW_RELIC_LICENSE_KEY: process.env.NEW_RELIC_LICENSE_KEY, diff --git a/public/CHANGELOG.md b/public/CHANGELOG.md index 94e5b174..fc005e49 100644 --- a/public/CHANGELOG.md +++ b/public/CHANGELOG.md @@ -6,6 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Unreleased + +## Removed +- removed unneccessary variables post reverse proxy launch + +## [0.2.3] 2024-11-21 + +### Updated + +- Update timeout on API request to 14 seconds + ## [0.2.2] 2024-11-20 ### Updated @@ -44,16 +54,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - merged into 0.1.19 -## [0.1.19] 2024-11-18 - -## Updated - -- Updated collection card urls to use uuid -- Moved `/divisions` and `/divisions/[slug]` from behind middleware, now accessible -- Updated item card urls to use uuid -- Updated collection card urls to use legacy url -- Updated prod ECS cluster name to `new-digitalcollections-prod` - ## [0.1.17] 2024-11-14 ### Updated