index.js: Add "data:" as an allowed image source in CSP
Signed-off-by: Aaron <admin@datahoarder.dev>
This commit is contained in:
parent
352fba6302
commit
f5bb74e921
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ module.exports = function(app) {
|
|||
"'self'",
|
||||
config.base_url.replace(/^https:\/\//, 'wss://')
|
||||
],
|
||||
imgSrc: ["'self'"],
|
||||
imgSrc: ["'self'", "data:"],
|
||||
scriptSrc: [
|
||||
"'self'",
|
||||
function(req) {
|
||||
|
|
Loading…
Reference in a new issue