change title

master
yutent 2023-06-26 20:13:44 +08:00
parent fa3dc9dc25
commit 73d364d887
1 changed files with 1 additions and 1 deletions

View File

@ -74,6 +74,6 @@ query {
langs.sort((a, b) => b.size - a.size) langs.sort((a, b) => b.size - a.size)
this.response.set('Content-Type', 'image/svg+xml') this.response.set('Content-Type', 'image/svg+xml')
this.response.end(render({ langs: langs.slice(0, count) }, this.IS_MOBILE)) this.response.end(render({ title: `${username}'s Top Languages`, langs: langs.slice(0, count) }, this.IS_MOBILE))
} }
} }