From 0f627ae86d4b4cb67630823bcfed6314e1122095 Mon Sep 17 00:00:00 2001 From: Sergei Meza Date: Wed, 19 Oct 2022 11:08:52 +0900 Subject: [PATCH] update ingress --- lib/session.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/session.js b/lib/session.js index aaaeecd3..3365bdce 100644 --- a/lib/session.js +++ b/lib/session.js @@ -49,7 +49,7 @@ 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('headers:', JSON.stringify(req.headers, null, 1)); console.log('ip:', ip);