diff --git a/packages/backend/src/server/file/send-drive-file.ts b/packages/backend/src/server/file/send-drive-file.ts index b7f3838e3f..01ec93e448 100644 --- a/packages/backend/src/server/file/send-drive-file.ts +++ b/packages/backend/src/server/file/send-drive-file.ts @@ -54,6 +54,8 @@ export default async function (ctx: Koa.Context) { return; } + ctx.set("X-Content-Type-Options", "nosniff"); + const isThumbnail = file.thumbnailAccessKey === key; const isWebpublic = file.webpublicAccessKey === key;