update ingress
parent
d453e3adc0
commit
0f627ae86d
|
@ -49,7 +49,7 @@ export async function getSession(req) {
|
||||||
// const ip = req.headers['x-forwarded-for'] || req.connection.remoteAddress;
|
// const ip = req.headers['x-forwarded-for'] || req.connection.remoteAddress;
|
||||||
const { userAgent, browser, os, ip, country, device } = await getClientInfo(req, payload);
|
const { userAgent, browser, os, ip, country, device } = await getClientInfo(req, payload);
|
||||||
|
|
||||||
console.log('headers:', JSON.stringify(req.headers));
|
console.log('headers:', JSON.stringify(req.headers, null, 1));
|
||||||
|
|
||||||
console.log('ip:', ip);
|
console.log('ip:', ip);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue