diff options
Diffstat (limited to 'components/Posts/PostList/index.js')
-rw-r--r-- | components/Posts/PostList/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/Posts/PostList/index.js b/components/Posts/PostList/index.js index 844f562..2b8ad92 100644 --- a/components/Posts/PostList/index.js +++ b/components/Posts/PostList/index.js @@ -4,7 +4,9 @@ import k from '~/api' import PostList from './PostList' export const getPosts = async () => { - let posts = await axios.get(`https://puszcza.netlify.com/api/posts.json`) + let posts = await axios.get( + `https://feature-json-api--puszcza.netlify.com/api/posts.json` + ) return parsePosts(posts.data) } |