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
@ -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 New Issue
Block a user