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(