Skip to content

Commit

Permalink
xframe-disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-zarate authored and butlerx committed Feb 4, 2022
1 parent 64166b9 commit 4740792
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/socketServer/security.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const policies =
],
},
},
frameguard: false
};
if (!allowIframe) args.frameguard = { action: 'sameorigin' };

Expand Down

0 comments on commit 4740792

Please sign in to comment.