forgot a log

This commit is contained in:
monty 2019-12-09 00:13:08 +01:00
parent c597a20d00
commit 5c4277ff38

View file

@ -79,7 +79,7 @@ module.exports = (client) => {
});
});
app.get('/update', async (req, res) => {
console.log(req.headers['user-agent']);
//console.log(req.headers['user-agent']);
if (req.headers.authorization === 'Update') {
await exec('git pull')
.then((r) => {