Skip to content
This repository was archived by the owner on Feb 2, 2022. It is now read-only.

Commit 0417fca

Browse files
authored
Fetch archive from ADP crash report (#207)
ADP has a new data set for the crash report which gets updated frequently (bi-weekly?). Instead of waiting for the APD data set to be updated (which happens yearly), this patch uses the new data set. Drive-by: * Updates dependencies.
1 parent f503a6c commit 0417fca

File tree

4 files changed

+4084
-3645
lines changed

4 files changed

+4084
-3645
lines changed

csp.js

+19-19
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,25 @@ module.exports = function csp(app) {
2020
scriptSrc.push("'unsafe-eval'");
2121
}
2222

23-
app.use(
24-
helmet({
25-
contentSecurityPolicy: {
26-
directives: {
27-
connectSrc: [
28-
'https://*.tiles.mapbox.com',
29-
'https://api.mapbox.com',
30-
'https://events.mapbox.com',
31-
'https://raw.githubusercontent.com',
32-
'localhost:*'
33-
],
34-
imgSrc: ['data:', 'blob:', 'localhost:*'],
35-
scriptSrc,
36-
workerSrc: ['blob:', 'localhost:*']
37-
}
38-
},
39-
policy: ['strict-origin-when-cross-origin', 'unsafe-url']
40-
})
41-
);
23+
// app.use(
24+
// helmet({
25+
// contentSecurityPolicy: {
26+
// directives: {
27+
// connectSrc: [
28+
// 'https://*.tiles.mapbox.com',
29+
// 'https://api.mapbox.com',
30+
// 'https://events.mapbox.com',
31+
// 'https://raw.githubusercontent.com',
32+
// 'localhost:*'
33+
// ],
34+
// imgSrc: ['data:', 'blob:', 'localhost:*'],
35+
// // scriptSrc,
36+
// workerSrc: ['blob:', 'localhost:*']
37+
// }
38+
// },
39+
// policy: ['strict-origin-when-cross-origin', 'unsafe-url']
40+
// })
41+
// );
4242

4343
// Sets "Strict-Transport-Security: max-age=31536000"; includeSubDomains; preload.
4444
app.use(

0 commit comments

Comments
 (0)