diff --git a/Dockerfile b/Dockerfile index b4f4f7d..7e1875c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ COPY public/ public COPY src/ src RUN echo "//npm.pkg.github.com/:_authToken=${gpr_token}" > ~/.npmrc -RUN npm install --legacy-peer-deps +RUN npm ci --legacy-peer-deps RUN npm run build FROM httpd:2.4-alpine diff --git a/src/pages/History/HistoryPage.tsx b/src/pages/History/HistoryPage.tsx index d5c9561..a7cddeb 100644 --- a/src/pages/History/HistoryPage.tsx +++ b/src/pages/History/HistoryPage.tsx @@ -69,7 +69,7 @@ async function getHistory(params: { }): Promise<{ total: number; list: HistoryItemData[] }> { const history = await HistoryService( undefined, - process.env.REACT_APP_WIDGET_API_ENDPOINT, + process.env.REACT_APP_HISTORY_API_ENDPOINT, ).getHistory( { recipientId: "testuser",