From 780c5c1129bfa58dc732962efcb73eb893c97b05 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 27 Aug 2019 23:26:32 -0700 Subject: [PATCH] fix: Add github gist styles to CSP --- server/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app.js b/server/app.js index d2cfcdefd..db97b5059 100644 --- a/server/app.js +++ b/server/app.js @@ -119,7 +119,7 @@ app.use( 'www.google-analytics.com', 'd2wy8f7a9ursnm.cloudfront.net', ], - styleSrc: ["'self'", "'unsafe-inline'"], + styleSrc: ["'self'", "'unsafe-inline'", 'github.githubassets.com'], imgSrc: ['*', 'data:', 'blob:'], frameSrc: ['*'], },