diff --git a/lib/session.js b/lib/session.js index 913b0927..aaaeecd3 100644 --- a/lib/session.js +++ b/lib/session.js @@ -49,6 +49,8 @@ export async function getSession(req) { // const ip = req.headers['x-forwarded-for'] || req.connection.remoteAddress; const { userAgent, browser, os, ip, country, device } = await getClientInfo(req, payload); + console.log('headers:', JSON.stringify(req.headers)); + console.log('ip:', ip); let session_uuid = uuid(websiteId, hostname, ip, userAgent);