updated path
This commit is contained in:
parent
c8770a904b
commit
f871f09a6d
|
@ -33,7 +33,7 @@ const io = socketio(server);
|
|||
|
||||
app.post('/receiveUpdate', (req, res) => {
|
||||
res.status(200).json({success:true});
|
||||
let updater = exec('sh ../gitUpdate.sh', (error, stdout, stderr) => {
|
||||
let updater = exec(`sh ${__dirname}/../gitUpdate.sh`, (error, stdout, stderr) => {
|
||||
console.log(stdout);
|
||||
console.error(stderr);
|
||||
if (error !== null) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user