Explorar o código

Update DiscoverComponent, change api namespace

Daniel Supernault %!s(int64=5) %!d(string=hai) anos
pai
achega
35275572b1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;