mirror of
https://github.com/outline/outline.git
synced 2026-11-21 21:44:30 +03:00
fix: CSP for client-side editor uploads
This commit is contained in:
1 parent
6520a501e3
commit
439ae1e832
1 file changed
+5
@@ -122,6 +122,11 @@ app.use(
|
||||
styleSrc: ["'self'", "'unsafe-inline'", 'github.githubassets.com'],
|
||||
imgSrc: ['*', 'data:', 'blob:'],
|
||||
frameSrc: ['*'],
|
||||
connectSrc: [
|
||||
"'self'",
|
||||
process.env.AWS_S3_UPLOAD_BUCKET_URL,
|
||||
'www.google-analytics.com',
|
||||
],
|
||||
},
|
||||
})
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user