Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
altan-me committed Dec 12, 2023
1 parent 2d1c26c commit edbf9df
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,10 @@ app.use((req, res, next) => {
"Content-Security-Policy",
"default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self';"
);

// X-Frame-Options
res.setHeader("X-Frame-Options", "SAMEORIGIN");

// Referrer-Policy
res.setHeader("Referrer-Policy", "strict-origin-when-cross-origin");

next();
});

Expand Down

0 comments on commit edbf9df

Please sign in to comment.