Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
change to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcc1212 committed May 24, 2024
1 parent 67ac48f commit 509f7c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64,linux/arm64
file: newAPI/Dockerfile
push: true
tags: ghcr.io/nmcc1212/mongo-api:latest
2 changes: 1 addition & 1 deletion next/news-aggregation/src/components/newsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function NewsList(props: Readonly<{
try {
setIsLoading(true);
if (Array.isArray(props.rssFeedUrls)) {
const response = await axios.post('http://100.88.40.21:50111/api/fetchNews', {
const response = await axios.post('http://localhost:50111/api/fetchNews', {
// const response = await axios.post('http://100.125.70.69:50111/api/fetchNews', {
rssFeedUrls: props.rssFeedUrls,
});
Expand Down

0 comments on commit 509f7c1

Please sign in to comment.