remove ip logging, this was accidentally left in during testing
This commit is contained in:
parent
937a4f7e26
commit
bcb001eaea
1 changed files with 0 additions and 1 deletions
1
index.js
1
index.js
|
@ -15,7 +15,6 @@ app.use(express.static('static'));
|
|||
app.post('/', async function (req, res) {
|
||||
let ip = req.headers['X-Real-IP'] || req.ip;
|
||||
let id = 'web:' + createHash('sha256').update(ip).digest('hex');
|
||||
console.log(ip);
|
||||
id = id.slice(0, 24);
|
||||
|
||||
if (!sessions[id]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue