Skip to content

Commit d0b89fb

Browse files
committed
update csp
1 parent 73bc187 commit d0b89fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

middleware/csp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ module.exports = async (req, res, next) => {
5858
if (versionSatisfiesRange(requestedVersion, '<=2.19') && versionSatisfiesRange(requestedVersion, '>2.12')) {
5959
csp.directives.scriptSrc.push("'unsafe-eval'", "'unsafe-inline'", 'http://www.google-analytics.com', 'https://ssl.google-analytics.com')
6060
csp.directives.connectSrc.push('https://www.google-analytics.com')
61-
csp.directives.imgSrc.push('http://www.google-analytics.com')
61+
csp.directives.imgSrc.push('http://www.google-analytics.com', 'https://ssl.google-analytics.com')
6262
}
6363

6464
// Exception for search in deprecated Enterprise docs <=2.12 (static site era)

0 commit comments

Comments
 (0)