Skip to content

Commit 7385cb7

Browse files
committed
Convert to use vanity report-uri endpoint
1 parent 29d0d47 commit 7385cb7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

middleware/policy.es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const
1313
// with JavaScript and collect more information about the client before reporting.
1414
, reports // report-to
1515
// *DEPRECATED* report-uri
16-
= ['https://ffb4d440b7878d6a1d371906dbe25fcd.report-uri.com/r/d/csp/enforce']
16+
= ['https://snuggsi.report-uri.com/r/d/csp/enforce']
1717

1818
, frames // frame-src
1919
// *DEPRECATED* child-src fallback

middleware/policy.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ test ('Content-Security-Policy: report-to' , async t => {
4141
= (await fetch ('http://localhost:8181/'))
4242
.headers.get ('content-security-policy')
4343

44-
, url = 'https://ffb4d440b7878d6a1d371906dbe25fcd.report-uri.com/r/d/csp/enforce'
44+
, url = 'https://snuggsi.report-uri.com/r/d/csp/enforce'
4545

4646

4747
t.ok ( policy.includes (`report-to ${url}`))

0 commit comments

Comments
 (0)