🐛Fixed thumbnails downloads

This commit is contained in:
Anton SHEPILOV
2024-06-04 13:43:04 +02:00
committed by Anton Shepilov
parent 098e663650
commit 6676d5d159
@@ -78,6 +78,7 @@ export class FileController {
if (data.size) response.header("Content-Length", data.size);
response.type(data.type);
response.send(data.file);
return response;
} catch (err) {
console.log(err);
response.statusCode = 500;