mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update DiscoverComponent, change api namespace
This commit is contained in:
parent
f3eeb9c978
commit
35275572b1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue