From 8d0bdfc200e081d0bb58ccb7dd8d28f85cd4351a Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Fri, 12 Jan 2018 12:04:04 +0200 Subject: [PATCH] Fix #1902 - unable to enable push notifications on Firefox 57 --- src/server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server.js b/src/server.js index 1087fc48..b73ce08a 100644 --- a/src/server.js +++ b/src/server.js @@ -227,6 +227,7 @@ function index(req, res, next) { "style-src 'self' 'unsafe-inline'", // allow inline due to use in irc hex colors "script-src 'self'", // javascript "worker-src 'self'", // service worker + "child-src 'self'", // deprecated fall back for workers, Firefox <58, see #1902 "manifest-src 'self'", // manifest.json "font-src 'self' https:", // allow loading fonts from secure sites (e.g. google fonts) "media-src 'self' https:", // self for notification sound; allow https media (audio previews)