module.exports = (req, res) => {
  const pw = process.env.ADMIN_PASSWORD || '';
  const sec = process.env.LICENSE_SECRET || '';
  res.status(200).setHeader('content-type','application/json').end(JSON.stringify({
    admin_password_len: pw.length,
    license_secret_len: sec.length,
    headers_keys: Object.keys(req.headers),
    received_admin_password: (req.headers['x-admin-password']||'').length,
  }));
};
