mirror of
https://github.com/siv-org/siv.git
synced 2026-01-09 10:27:57 -05:00
/malware-check: Get IP of 2nd device loading the check
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user