An ATproto social media client -- with an independent Appview.

fix metrics types

+2 -2
+2 -2
bskyogcard/src/index.ts
··· 58 58 59 59 // Start separate metrics server 60 60 const metricsApp = express() 61 - metricsApp.get('/metrics', (_req, res) => { 61 + metricsApp.get('/metrics', async (_req, res) => { 62 62 res.set('Content-Type', register.contentType) 63 - res.end(register.metrics()) 63 + res.end(await register.metrics()) 64 64 }) 65 65 66 66 this.metricsServer = metricsApp.listen(this.ctx.cfg.service.metricsPort)