Update apps/api.js

master
yutent 2024-05-13 15:09:28 +08:00
parent 9baf043b30
commit 588a7981f7
1 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,8 @@ query {
langs.sort((a, b) => b.size - a.size) 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.set('Content-Type', 'image/svg+xml')
this.response.end( this.response.end(
render( render(