Adds small timeout to restart server API call

Fixes typo in translation description for video cropping
python3-docker-test
Isaac Abadi 4 years ago
parent ce8f90ca1d
commit ccb4819a94

@ -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});
});

@ -252,7 +252,7 @@
<context context-type="sourcefile">src/app/main/main.component.html</context>
<context context-type="linenumber">159</context>
</context-group>
<note priority="1" from="description">Crom from placeholder</note>
<note priority="1" from="description">Crop from placeholder</note>
</trans-unit>
<trans-unit id="661206c3ab91fa81e9d8b40afb29f1866b78432f" datatype="html">
<source>Crop to (seconds)</source>

Loading…
Cancel
Save