INNER CODE UNIT · TypeScript
handler
timgit/pg-boss · packages/dashboard/app/server.ts:231
const handler = productionHandler ?? createRequestHandler(await (build as () => ServerBuild | Promise<ServerBuild>)(), mode)
const response = await handler(c.req.raw, getLoadContext(c, databases ?? getDatabaseConfigs(), overlay))
// Pages carry job payloads.
if (!response.headers.has('Cache-Control')) {
response.headers.set('Cache-Control', 'no-store')
}
return response
})
return app
}