소스 검색

Update DiscoverComponent, change api namespace

Daniel Supernault 5 년 전
부모
커밋
35275572b1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;