refactor(media): remove redundant metadata fallback for content-type
Some checks failed
Some checks failed
This commit is contained in:
@@ -15,7 +15,6 @@ export class MediaController {
|
||||
|
||||
const contentType =
|
||||
stats.metaData?.["content-type"] ||
|
||||
stats.metadata?.["content-type"] ||
|
||||
"application/octet-stream";
|
||||
|
||||
res.setHeader("Content-Type", contentType);
|
||||
|
||||
Reference in New Issue
Block a user