diff --git a/app.yaml b/app.yaml index 22694f5..0370971 100644 --- a/app.yaml +++ b/app.yaml @@ -1,5 +1,5 @@ -script: node ./app.js +script: bun ./app.js cwd: ./ watch: true name: stats:30303 diff --git a/apps/api.js b/apps/api.js index 21002cd..ed72ec4 100644 --- a/apps/api.js +++ b/apps/api.js @@ -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 + ) + ) } }