Adjust ports

This commit is contained in:
Ategon 2025-01-15 16:35:21 -05:00
parent 9d457750db
commit 3b0d74f21f
2 changed files with 2 additions and 2 deletions

View file

@ -4,6 +4,6 @@ services:
build:
context: .
ports:
- "3004:3000"
- "127.0.0.1:3004:3000"
environment:
NODE_ENV: production

View file

@ -9,7 +9,7 @@ export default function Posts() {
useEffect(() => {
const fetchPosts = async () => {
const response = await fetch("http://localhost:3005/api/v1/posts");
const response = await fetch("http://jam.edikoyo.com/api/v1/posts");
setPosts(await response.json());
};