mirror of
https://github.com/Ategon/Jamjar.git
synced 2025-02-12 06:16:21 +00:00
Compare commits
4 commits
e0091af825
...
68e4fb7a71
Author | SHA1 | Date | |
---|---|---|---|
![]() |
68e4fb7a71 | ||
![]() |
c204a54815 | ||
![]() |
2b3d1f08fa | ||
![]() |
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("https://jam.edikoyo.com/api/v1/posts");
|
||||
setPosts(await response.json());
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue