Browse Source

Update DiscoverComponent, change api namespace

Daniel Supernault 5 years ago
parent
commit
35275572b1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/assets/js/components/DiscoverComponent.vue

+ 1 - 1
resources/assets/js/components/DiscoverComponent.vue

@@ -80,7 +80,7 @@
 
 		methods: {
 			fetchData() {
-				axios.get('/api/v2/discover/posts')
+				axios.get('/api/pixelfed/v2/discover/posts')
 				.then((res) => {
 					this.posts = res.data.posts;
 					this.loaded = true;