Skip to content

Commit

Permalink
fix(gameapps): fix title (DIYgod#18026)
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyRL authored Jan 1, 2025
1 parent efcac36 commit 883a772
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/routes/gameapps/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ async function handler() {
});
const $ = load(response);

item.title = $('meta[property="og:title"]').attr('content') ?? $('.news-title h1').text();

const nextPages = $('.pagination li')
.not('.disabled')
.not('.active')
Expand Down

0 comments on commit 883a772

Please sign in to comment.