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:
parent
4160a3af71
commit
d83acebb4c
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue