mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 12:05:41 +01:00
update ingress
This commit is contained in:
parent
d453e3adc0
commit
0f627ae86d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue