remove ip logging, this was accidentally left in during testing

This commit is contained in:
biglyderv 2025-04-18 15:47:33 -04:00
parent 937a4f7e26
commit bcb001eaea
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5

View file

@ -15,7 +15,6 @@ app.use(express.static('static'));
app.post('/', async function (req, res) { app.post('/', async function (req, res) {
let ip = req.headers['X-Real-IP'] || req.ip; let ip = req.headers['X-Real-IP'] || req.ip;
let id = 'web:' + createHash('sha256').update(ip).digest('hex'); let id = 'web:' + createHash('sha256').update(ip).digest('hex');
console.log(ip);
id = id.slice(0, 24); id = id.slice(0, 24);
if (!sessions[id]) { if (!sessions[id]) {