diff --git a/backend/app.js b/backend/app.js index 3c30dab..78dae1b 100644 --- a/backend/app.js +++ b/backend/app.js @@ -1583,7 +1583,8 @@ app.post('/api/setConfig', optionalJwt, function(req, res) { }); app.post('/api/restartServer', optionalJwt, (req, res) => { - restartServer(); + // delayed by a little bit so that the client gets a response + setTimeout(() => {restartServer()}, 100); res.send({success: true}); }); diff --git a/src/assets/i18n/messages.en.xlf b/src/assets/i18n/messages.en.xlf index e8b58dd..99e0f16 100644 --- a/src/assets/i18n/messages.en.xlf +++ b/src/assets/i18n/messages.en.xlf @@ -252,7 +252,7 @@ src/app/main/main.component.html 159 - Crom from placeholder + Crop from placeholder Crop to (seconds)