Push dev work to master #2

Merged
sixteenmillimeter merged 416 commits from dev into master 2018-07-19 15:29:02 +00:00
1 changed files with 4 additions and 2 deletions
Showing only changes of commit 64343bfc0b - Show all commits

View File

@ -346,13 +346,15 @@ function rSequence (req, res, next) {
function rUpdate (req, res, next) {
exec('sh ./scripts/update.sh', (err, stdio, stderr) => {
res.send({ success : true })
res.send({ success : true, action : 'update' })
res.end()
process.exit(0)
})
}
function rRestart (req, res, next) {
res.send({ success : true })
res.send({ success : true, action : 'restart' })
res.end()
process.exit(0)
}