import { noCacheControl } from './cache-control.js' const BUILD_SHA = process.env.BUILD_SHA export default function buildInfo(req, res) { res.type('text/plain') noCacheControl(res) if (!BUILD_SHA) { return res.status(404).send('Not known') } return res.send(`${BUILD_SHA}`) }