ip.userAgent || ''

This commit is contained in:
Sefinek 2024-11-10 04:16:50 +01:00
parent d6e394bcab
commit 02ecedcd74

View file

@ -35,7 +35,7 @@ module.exports = async () => {
rayId: ip.rayId,
ip: ip.ip,
endpoint: ip.endpoint,
userAgent: ip.userAgent?.replace(/"/g, ''),
userAgent: ip.userAgent || '',
action: ip.action,
country: ip.country,
timestamp: ip.timestamp,