remove console logs

This commit is contained in:
Sergei Meza 2022-11-09 14:28:37 +09:00
parent 3bca3ef072
commit 911eae897f
3 changed files with 0 additions and 9 deletions

View file

@ -49,10 +49,6 @@ 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, null, 1));
console.log('ip:', ip);
let session_uuid = uuid(websiteId, hostname, ip, userAgent);
if (process.env.CROSSDOMAIN_TRACKING) {
session_uuid = uuid(websiteId, ip);