3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-14 21:31:50 +00:00

Disable MIME type sniffing in archives

This commit is contained in:
Dragory 2021-05-19 11:31:26 +03:00
parent 4160a3af71
commit d83acebb4c
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -30,6 +30,7 @@ export function initArchives(app: express.Express) {
}
res.setHeader("Content-Type", "text/plain; charset=UTF-8");
res.setHeader("X-Content-Type-Options", "nosniff");
res.end(body);
});
}