mirror of
https://github.com/Ategon/Jamjar.git
synced 2025-02-12 06:16:21 +00:00
Adjust ports
This commit is contained in:
parent
9d457750db
commit
3b0d74f21f
2 changed files with 2 additions and 2 deletions
|
@ -4,6 +4,6 @@ services:
|
|||
build:
|
||||
context: .
|
||||
ports:
|
||||
- "3004:3000"
|
||||
- "127.0.0.1:3004:3000"
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
|
|
|
@ -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());
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue