diff --git a/CHANGELOG.md b/CHANGELOG.md index fbedba16c..4b0cc2914 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -88,6 +88,8 @@ - Updated PublicApiController, enforce only_media on accountStatuses method. Fixes #3105. ([861a2d36](https://github.com/pixelfed/pixelfed/commit/861a2d36)) - Updated ApiV1Controller, add mastoapi strict mode. ([46485426](https://github.com/pixelfed/pixelfed/commit/46485426)) - Updated AccountController, refresh RelationshipService on mute/block. ([6f1b0245](https://github.com/pixelfed/pixelfed/commit/6f1b0245)) +- Updated ApiV1Controller, fix version on instance endpoint. ([a6261221](https://github.com/pixelfed/pixelfed/commit/a6261221)) +- Updated components, fix api endpoints. Fixes #3138. ([e724633e](https://github.com/pixelfed/pixelfed/commit/e724633e)) - ([](https://github.com/pixelfed/pixelfed/commit/)) ## [v0.11.1 (2021-09-07)](https://github.com/pixelfed/pixelfed/compare/v0.11.0...v0.11.1) diff --git a/public/js/spa.js b/public/js/spa.js index 0d29f203a..8ba87fe82 100644 Binary files a/public/js/spa.js and b/public/js/spa.js differ diff --git a/public/js/timeline.js b/public/js/timeline.js index 04302978e..e3f265856 100644 Binary files a/public/js/timeline.js and b/public/js/timeline.js differ diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 9d089a604..db5be1c75 100644 Binary files a/public/mix-manifest.json and b/public/mix-manifest.json differ diff --git a/resources/assets/js/components/NotificationCard.vue b/resources/assets/js/components/NotificationCard.vue index 66ad1368d..2c9a0a5c0 100644 --- a/resources/assets/js/components/NotificationCard.vue +++ b/resources/assets/js/components/NotificationCard.vue @@ -165,7 +165,7 @@ methods: { fetchNotifications() { - axios.get('/api/v1/notifications?pg=true') + axios.get('/api/pixelfed/v1/notifications?pg=true') .then(res => { let data = res.data.filter(n => { if(n.type == 'share' && !n.status) { diff --git a/resources/assets/js/components/Timeline.vue b/resources/assets/js/components/Timeline.vue index 7dc2b2a86..4e2e88852 100644 --- a/resources/assets/js/components/Timeline.vue +++ b/resources/assets/js/components/Timeline.vue @@ -591,7 +591,7 @@ methods: { fetchProfile() { - axios.get('/api/v1/accounts/verify_credentials').then(res => { + axios.get('/api/pixelfed/v1/accounts/verify_credentials').then(res => { this.profile = res.data; if(this.profile.is_admin == true) { this.modes.mod = true;