about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-06-06 09:10:25 +0000
committerGitHub <noreply@github.com>2020-06-06 09:10:25 +0000
commit716fddab9b0ad44b5a4e45b92cda96323ba99f6f (patch)
treed3c0883b5f9f7e019851c93867b3c4d49ecf93af
parent55354a1bd0710486a3db8601ee9efe35039b5483 (diff)
parent044c48b6351dfd6f979a548c345e19b37326bfa5 (diff)
downloadpuszcza-716fddab9b0ad44b5a4e45b92cda96323ba99f6f.tar.gz
puszcza-716fddab9b0ad44b5a4e45b92cda96323ba99f6f.zip
Merge pull request #39 from 19pdh/fix-404
Fix 404 on posts
-rw-r--r--api/index.js2
-rw-r--r--pages/index.vue4
2 files changed, 2 insertions, 4 deletions
diff --git a/api/index.js b/api/index.js
index 7843302..11a513d 100644
--- a/api/index.js
+++ b/api/index.js
@@ -1,4 +1,4 @@
-export const apiUrl = 'https://puszcza.netlify.com/api'
+export const apiUrl = 'https://puszcza.netlify.app/api'
 
 export const parsePosts = (posts) =>
   posts.map((post) => ({
diff --git a/pages/index.vue b/pages/index.vue
index 1428644..a801653 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1,7 +1,6 @@
 <template>
   <div>
     <join-us />
-    <konkurs-kulinarny />
     <div style="width: 100%; padding-top: 50px">
       <h1>Ostatnie wpisy z kroniki</h1>
       <post-list :posts="posts" :max="4" />
@@ -16,12 +15,11 @@ import JoinUs from '~/components/JoinUs.vue'
 import FacebookFeed from '~/components/Facebook/FacebookFeed.vue'
 import PostList from '~/components/Posts/PostList'
 import ObozWidget from '~/components/ObozWidget'
-import KonkursKulinarny from '~/components/KonkursKulinarny'
 import postListParentMixin from '~/components/Posts/PostList/parentMixin'
 
 export default {
   name: 'HomeView',
-  components: { JoinUs, FacebookFeed, PostList, ObozWidget, KonkursKulinarny },
+  components: { JoinUs, FacebookFeed, PostList, ObozWidget },
   mixins: [postListParentMixin],
 }
 </script>