Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 18f99e7

Browse files
committed
Prevent web browsers from MIME sniffing.
1 parent a8841e1 commit 18f99e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/samples/conference/samplertcservice.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ app.use(function(req, res, next) {
5555
res.header('Access-Control-Allow-Methods', 'POST, GET, PUT, PATCH, OPTIONS, DELETE');
5656
res.header('Access-Control-Allow-Headers', 'origin, content-type');
5757
res.header('Strict-Transport-Security', 'max-age=1024000; includeSubDomain');
58+
res.header('X-Content-Type-Options', 'nosniff');
5859
if (req.method == 'OPTIONS') {
5960
res.send(200);
6061
} else {

0 commit comments

Comments
 (0)