Merge pull request #1975 from thelounge/xpaw/fix-1902
Fix enabling push notifications on Firefox
This commit is contained in:
commit
f8c66aa512
@ -227,6 +227,7 @@ function index(req, res, next) {
|
|||||||
"style-src 'self' 'unsafe-inline'", // allow inline due to use in irc hex colors
|
"style-src 'self' 'unsafe-inline'", // allow inline due to use in irc hex colors
|
||||||
"script-src 'self'", // javascript
|
"script-src 'self'", // javascript
|
||||||
"worker-src 'self'", // service worker
|
"worker-src 'self'", // service worker
|
||||||
|
"child-src 'self'", // deprecated fall back for workers, Firefox <58, see #1902
|
||||||
"manifest-src 'self'", // manifest.json
|
"manifest-src 'self'", // manifest.json
|
||||||
"font-src 'self' https:", // allow loading fonts from secure sites (e.g. google fonts)
|
"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)
|
"media-src 'self' https:", // self for notification sound; allow https media (audio previews)
|
||||||
|
Loading…
Reference in New Issue
Block a user