Skip to content

Commit

Permalink
use correct env variable for history api
Browse files Browse the repository at this point in the history
  • Loading branch information
stCarolas committed Jun 16, 2024
1 parent 226d9ce commit 077acbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/pages/History/HistoryPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 077acbf

Please sign in to comment.