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'",
|
"'self'",
|
||||||
config.base_url.replace(/^https:\/\//, 'wss://')
|
config.base_url.replace(/^https:\/\//, 'wss://')
|
||||||
],
|
],
|
||||||
imgSrc: ["'self'"],
|
imgSrc: ["'self'", "data:"],
|
||||||
scriptSrc: [
|
scriptSrc: [
|
||||||
"'self'",
|
"'self'",
|
||||||
function(req) {
|
function(req) {
|
||||||
|
|
Loading…
Reference in New Issue