flora is a fast and secure runtime that lets you write discord bots for your servers, with a rich TypeScript SDK, without worrying about running infrastructure. [mirror]
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(build-service): skip health check request logs

Session-Id: 0862ce68-15fd-4f6f-9ef4-35b1ec5a1bad

+4
+4
apps/build-service/src/index.ts
··· 16 16 const requestLogger = logger.withTag(colors.cyan('http')) 17 17 18 18 app.use(async (event, next) => { 19 + if (event.url.pathname === '/health') { 20 + return next() 21 + } 22 + 19 23 const startedAt = Date.now() 20 24 const method = event.req.method 21 25 const path = `${event.url.pathname}${event.url.search}`