From 588a7981f7ca958aad690dd2e18bd4814a91c99c Mon Sep 17 00:00:00 2001 From: yutent Date: Mon, 13 May 2024 15:09:28 +0800 Subject: [PATCH] Update apps/api.js --- apps/api.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/api.js b/apps/api.js index ed72ec4..6ff3886 100644 --- a/apps/api.js +++ b/apps/api.js @@ -73,6 +73,8 @@ query { langs.sort((a, b) => b.size - a.size) + username = username.replace(/^\w/, s => s.toUpperCase()) + this.response.set('Content-Type', 'image/svg+xml') this.response.end( render(