Skip to content

Commit

Permalink
revert: locking down the font-src to make it strict
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterMoar committed Feb 18, 2025
1 parent 916a069 commit 0a1c962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const app = express();

// Set the CSP header so that external media cannot be displayed in the forms.
app.use((_req, res, next) => {
res.setHeader('Content-Security-Policy', "default-src 'self'; font-src 'self' https:");
res.setHeader('Content-Security-Policy', "default-src 'self'; font-src 'self'");
next();
});

Expand Down

0 comments on commit 0a1c962

Please sign in to comment.