Skip to content

Commit

Permalink
fix(route): use apnews api instead of official rss (down now)
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudoyu committed Oct 9, 2024
1 parent 755ba8c commit 98b7703
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/routes/apnews/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { parseDate } from '@/utils/parse-date';

export const route: Route = {
path: '/api/:tags?',
categories: ['traditional-media'],
categories: ['traditional-media', 'popular'],
example: '/apnews/api/business',
view: ViewType.Articles,
parameters: {
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/apnews/rss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const HOME_PAGE = 'https://apnews.com';

export const route: Route = {
path: '/rss/:category?',
categories: ['traditional-media', 'popular'],
categories: ['traditional-media'],
example: '/apnews/rss/business',
view: ViewType.Articles,
parameters: {
Expand Down

0 comments on commit 98b7703

Please sign in to comment.