From ebbaf45c3bdc8f0ade0e3fb27f34f6f08750defd Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 19 Mar 2024 22:39:34 +0800 Subject: [PATCH] feat(twitter): update title --- lib/routes/twitter/{followings.ts => home.ts} | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) rename lib/routes/twitter/{followings.ts => home.ts} (86%) diff --git a/lib/routes/twitter/followings.ts b/lib/routes/twitter/home.ts similarity index 86% rename from lib/routes/twitter/followings.ts rename to lib/routes/twitter/home.ts index a12d93c80..8075f7775 100644 --- a/lib/routes/twitter/followings.ts +++ b/lib/routes/twitter/home.ts @@ -3,10 +3,9 @@ import utils from './utils'; import api from './api'; export const route: Route = { - path: '/followings/:routeParams?', + path: '/home/:routeParams?', categories: ['social-media'], - example: '/twitter/followings', - parameters: { id: 'username', routeParams: 'extra parameters, see the table above' }, + example: '/twitter/home', features: { requireConfig: [ { @@ -28,7 +27,7 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - name: 'User following timeline', + name: 'Home timeline', maintainers: ['DIYgod'], handler, };