/malware-check: Get IP of 2nd device loading the check

This commit is contained in:
David Ernst
2026-01-05 20:37:16 -08:00
parent 9aa325175b
commit a33b5a9c12

View File

@@ -47,6 +47,7 @@ export default async (req: NextApiRequest, res: NextApiResponse) => {
...entry,
already_seen_device: already_seen_device ?? null,
downloaded_at: new Date(),
downloaded_by_ip: req.headers['x-real-ip'] || null,
downloaded_by_user_agent: req.headers['user-agent'] || null,
}