diff --git a/src/client/app/common/views/deck/deck.featured-column.vue b/src/client/app/common/views/deck/deck.featured-column.vue index 776957cc4d..d2c44e74ce 100644 --- a/src/client/app/common/views/deck/deck.featured-column.vue +++ b/src/client/app/common/views/deck/deck.featured-column.vue @@ -29,7 +29,7 @@ export default Vue.extend({ return { faNewspaper, makePromise: cursor => this.$root.api('notes/featured', { - limit: 20, + limit: 30, }).then(notes => { notes.sort((a, b) => new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime()); return notes; diff --git a/src/client/app/desktop/views/home/featured.vue b/src/client/app/desktop/views/home/featured.vue index 07f9088c2d..1719023289 100644 --- a/src/client/app/desktop/views/home/featured.vue +++ b/src/client/app/desktop/views/home/featured.vue @@ -28,7 +28,7 @@ export default Vue.extend({ this.fetching = true; this.$root.api('notes/featured', { - limit: 20 + limit: 30 }).then(notes => { notes.sort((a, b) => new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime()); this.notes = notes; diff --git a/src/client/app/mobile/views/pages/featured.vue b/src/client/app/mobile/views/pages/featured.vue index 684b79f8b9..667e199b58 100644 --- a/src/client/app/mobile/views/pages/featured.vue +++ b/src/client/app/mobile/views/pages/featured.vue @@ -36,7 +36,7 @@ export default Vue.extend({ this.fetching = true; this.$root.api('notes/featured', { - limit: 20 + limit: 30 }).then(notes => { notes.sort((a, b) => new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime()); this.notes = notes; diff --git a/src/server/api/endpoints/notes/featured.ts b/src/server/api/endpoints/notes/featured.ts index 0bf583b54d..3648b307d7 100644 --- a/src/server/api/endpoints/notes/featured.ts +++ b/src/server/api/endpoints/notes/featured.ts @@ -33,7 +33,7 @@ export const meta = { }; export default define(meta, async (ps, user) => { - const day = 1000 * 60 * 60 * 24 * 2; + const day = 1000 * 60 * 60 * 24 * 3; // 3日前まで const hideUserIds = await getHideUserIds(user);