Update DiscoverComponent, change api namespace

pull/1721/head
Daniel Supernault 6 years ago
parent f3eeb9c978
commit 35275572b1
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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;

Loading…
Cancel
Save