refactor(media): remove redundant metadata fallback for content-type
Some checks failed
CI/CD Pipeline / Valider backend (push) Failing after 1m9s
CI/CD Pipeline / Valider frontend (push) Successful in 1m37s
CI/CD Pipeline / Valider documentation (push) Successful in 1m40s
CI/CD Pipeline / Déploiement en Production (push) Has been skipped

This commit is contained in:
Mathis HERRIOT
2026-01-20 12:06:20 +01:00
parent 2450977e61
commit 4700526dd2
4 changed files with 3 additions and 4 deletions

View File

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