spaces?:??

This commit is contained in:
Djkato 2023-07-12 23:15:41 +02:00
parent b42fb4a06c
commit 4671b9e58d

View file

@ -11,7 +11,7 @@ http.createServer(function (req, res) {
const sig = 'sha1=' + crypto.createHmac('sha1', secret).update(chunk.toString()).digest('hex') const sig = 'sha1=' + crypto.createHmac('sha1', secret).update(chunk.toString()).digest('hex')
if (req.headers['x-hub-signature'] == sig) { if (req.headers['x-hub-signature'] == sig) {
console.log('updating moover...') console.log('updating moover...')
exec(`pm2 stop 'MOOver - main' && cd ${repo} && git pull && npm install && pm2 start 'MOOver - main'`) exec(`pm2 stop 'MOOver-main' && cd ${repo} && git pull && npm install && pm2 start 'MOOver-main'`)
console.log('Success!') console.log('Success!')
} }
}) })