Skip to content

Commit

Permalink
woopsies
Browse files Browse the repository at this point in the history
  • Loading branch information
avertrees committed Nov 26, 2024
1 parent 3a2b08a commit 6da42d6
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
1 change: 0 additions & 1 deletion app/src/components/pages/divisionsPage/divisionsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
3 changes: 1 addition & 2 deletions app/src/utils/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 0 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
20 changes: 10 additions & 10 deletions public/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6da42d6

Please sign in to comment.