1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 16:24:29 +00:00

Update DiscoverComponent

This commit is contained in:
Daniel Supernault 2021-12-22 00:51:24 -07:00
parent 2befff8fd1
commit 65064a8832
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -178,7 +178,7 @@
if(!this.recommendedLoading) { if(!this.recommendedLoading) {
return; return;
} }
axios.get('/api/pixelfed/v2/discover/posts') axios.get('/api/v1/discover/posts')
.then((res) => { .then((res) => {
this.posts = res.data.posts.filter(r => r != null); this.posts = res.data.posts.filter(r => r != null);
this.recommendedLoading = false; this.recommendedLoading = false;