Skip to content

Commit

Permalink
Use Helmet's new default for x-xss-protection
Browse files Browse the repository at this point in the history
  • Loading branch information
bobsilverberg committed Sep 17, 2020
1 parent 473dd39 commit 5a2b15e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/index.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ describe(__filename, () => {
);
expect(response.header['x-content-type-options']).toEqual('nosniff');
expect(response.header['x-frame-options']).toEqual('DENY');
expect(response.header['x-xss-protection']).toEqual('1; mode=block');
expect(response.header['x-xss-protection']).toEqual('0');

const staticResponse = await server.get('/favicon.ico');

Expand Down

0 comments on commit 5a2b15e

Please sign in to comment.