console log headers
parent
29ea1ec253
commit
89e2443266
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue