mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-09 13:51:57 -04:00
Add missing unsafe-inline CSP directive
Dropbox loads an external script that adds inline javascript. Therefore, this addition is needed when enabling dropbox support. Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
f821da6c09
commit
8932260360
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ var googleAnalyticsDirectives = {
|
|||
}
|
||||
|
||||
var dropboxDirectives = {
|
||||
scriptSrc: ['https://www.dropbox.com']
|
||||
scriptSrc: ['https://www.dropbox.com', '\'unsafe-inline\'']
|
||||
}
|
||||
|
||||
CspStrategy.computeDirectives = function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue