Update DiscoverComponent, change api namespace

This commit is contained in:
Daniel Supernault 2019-09-26 19:45:06 -06:00
parent f3eeb9c978
commit 35275572b1
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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