forgot a log
This commit is contained in:
parent
c597a20d00
commit
5c4277ff38
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ module.exports = (client) => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
app.get('/update', async (req, res) => {
|
app.get('/update', async (req, res) => {
|
||||||
console.log(req.headers['user-agent']);
|
//console.log(req.headers['user-agent']);
|
||||||
if (req.headers.authorization === 'Update') {
|
if (req.headers.authorization === 'Update') {
|
||||||
await exec('git pull')
|
await exec('git pull')
|
||||||
.then((r) => {
|
.then((r) => {
|
||||||
|
|
Loading…
Reference in a new issue