3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-20 16:25:03 +00:00

Disable MIME type sniffing in archives

This commit is contained in:
Dragory 2021-05-19 11:31:26 +03:00
parent c64bddad4b
commit 192f1e1d51

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