node -> bun
parent
ad9dfdc157
commit
9baf043b30
2
app.yaml
2
app.yaml
|
@ -1,5 +1,5 @@
|
|||
|
||||
script: node ./app.js
|
||||
script: bun ./app.js
|
||||
cwd: ./
|
||||
watch: true
|
||||
name: stats:30303
|
||||
|
|
|
@ -74,6 +74,11 @@ query {
|
|||
langs.sort((a, b) => b.size - a.size)
|
||||
|
||||
this.response.set('Content-Type', 'image/svg+xml')
|
||||
this.response.end(render({ title: `${username}'s Top Languages`, 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
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue