Skip to content

Commit

Permalink
feat(web): ✨ NEL
Browse files Browse the repository at this point in the history
  • Loading branch information
gracefullight committed Apr 3, 2024
1 parent 3f983da commit 0a3407c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,25 @@ const config = {
},
{ key: "X-Content-Type-Options", value: "nosniff" },
{ key: "X-Frame-Options", value: "SAMEORIGIN" },
{
key: "NEL",
value: JSON.stringify({
report_to: "default",
max_age: 31_536_000,
include_subdomains: true,
}),
},
{
key: "Report-To",
value: JSON.stringify({
group: "default",
max_age: 31_536_000,
endpoints: [
{ url: "https://gracefullight.report-uri.com/a/d/g" },
],
include_subdomains: true,
}),
},
],
},
];
Expand Down

0 comments on commit 0a3407c

Please sign in to comment.