mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-07 20:10:03 +03:00
Adds small timeout to restart server API call
Fixes typo in translation description for video cropping
This commit is contained in:
@@ -1583,7 +1583,8 @@ app.post('/api/setConfig', optionalJwt, function(req, res) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
app.post('/api/restartServer', optionalJwt, (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});
|
res.send({success: true});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -252,7 +252,7 @@
|
|||||||
<context context-type="sourcefile">src/app/main/main.component.html</context>
|
<context context-type="sourcefile">src/app/main/main.component.html</context>
|
||||||
<context context-type="linenumber">159</context>
|
<context context-type="linenumber">159</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<note priority="1" from="description">Crom from placeholder</note>
|
<note priority="1" from="description">Crop from placeholder</note>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="661206c3ab91fa81e9d8b40afb29f1866b78432f" datatype="html">
|
<trans-unit id="661206c3ab91fa81e9d8b40afb29f1866b78432f" datatype="html">
|
||||||
<source>Crop to (seconds)</source>
|
<source>Crop to (seconds)</source>
|
||||||
|
|||||||
Reference in New Issue
Block a user