Skip to content

Commit

Permalink
Merge pull request #1975 from thelounge/xpaw/fix-1902
Browse files Browse the repository at this point in the history
Fix enabling push notifications on Firefox
  • Loading branch information
astorije authored Jan 13, 2018
2 parents 503c153 + 8d0bdfc commit f8c66aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f8c66aa

Please sign in to comment.