log denied access attempts on server

This commit is contained in:
Joseph Bethge 2016-09-29 17:55:32 +02:00
parent 2c758a9981
commit 5899497aa7

View File

@ -22,6 +22,7 @@ var Server = function(config, callback) {
if (err === undefined) {
return next();
}
console.log(err.message);
res.status(403).send("This device is not allowed to access your mirror. <br> Please check your config.js or config.js.sample to change this.");
});
});