clean up
This commit is contained in:
parent
2eef7005c8
commit
510cc6692f
|
@ -234,7 +234,6 @@ export class FileServerService {
|
||||||
extname: file.ext ? `.${file.ext}` : '.unknown',
|
extname: file.ext ? `.${file.ext}` : '.unknown',
|
||||||
}).toString();
|
}).toString();
|
||||||
|
|
||||||
reply.header('Content-Disposition', contentDisposition('inline', filename));
|
|
||||||
image = this.processFileAndConvertToIImage(file, request, reply);
|
image = this.processFileAndConvertToIImage(file, request, reply);
|
||||||
image.filename = filename;
|
image.filename = filename;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue