mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2026-04-28 03:07:38 +02:00
/stuff file browser, minor tweaks
This commit is contained in:
@@ -59,7 +59,7 @@ function Log(s, c, b) {
|
||||
function LogReq(req, toFile, sc) {
|
||||
try {
|
||||
var ip = req.headers['cf-connecting-ip'] || req.connection.remoteAddress;
|
||||
var logEntry = ip + DELIM + req.headers['user-agent'] +
|
||||
var logEntry = ip + DELIM + req.hostname + DELIM + req.headers['user-agent'] +
|
||||
DELIM + req.method + DELIM;
|
||||
|
||||
logEntry += req.url;
|
||||
|
||||
Reference in New Issue
Block a user