import { Status } from '@/gemini'; import { Handler } from '@/mission-control'; const withCertificate: Handler = (req, res) => { if (req.fingerprint === null) { res.sendStatus(Status.CLIENT_CERTIFICATE_REQUIRED); res.end(); } }; export default withCertificate;