about summary refs log tree commit diff
path: root/components
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-29 10:37:58 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-29 10:37:58 +0100
commita46cabb3ed27fc099f0eb68c4b073fea6615e822 (patch)
tree56df80d76d05c8429a821bc5843d12dba11dc425 /components
parentd0885eb9a0d9d6ff33a3203a693f72e9de4dc562 (diff)
downloadpuszcza-a46cabb3ed27fc099f0eb68c4b073fea6615e822.tar.gz
puszcza-a46cabb3ed27fc099f0eb68c4b073fea6615e822.zip
Test headers
Diffstat (limited to 'components')
-rw-r--r--components/Posts/PostList/index.js4
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)
 }