fix remote ip

This commit is contained in:
Dustin Decker 2023-01-27 18:15:19 -08:00
parent 6256827252
commit 2bb7a9fcd8

2
app.js
View file

@ -256,7 +256,7 @@ async function get_app_server() {
id: payload_fire_id,
user_id: userID,
url: req.body.uri,
ip_address: req.connection.remoteAddress.toString(),
ip_address: req.ip,
referer: req.body.referrer,
user_agent: req.body['user-agent'],
cookies: req.body.cookies,