From 73d364d8878a48443828ccb82be72650ab85082d Mon Sep 17 00:00:00 2001 From: yutent Date: Mon, 26 Jun 2023 20:13:44 +0800 Subject: [PATCH] change title --- apps/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api.js b/apps/api.js index 8bec5d6..21002cd 100644 --- a/apps/api.js +++ b/apps/api.js @@ -74,6 +74,6 @@ query { langs.sort((a, b) => b.size - a.size) 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)) } }