treat onlyoffice iframes specially with regard to CSP

pull/1/head
ansuz 5 years ago
parent a5265e4c61
commit 671999c600

@ -70,6 +70,7 @@ var setHeaders = (function () {
return function (req, res) { return function (req, res) {
const h = [ const h = [
/^\/pad(2)?\/inner\.html.*/, /^\/pad(2)?\/inner\.html.*/,
/^\/common\/onlyoffice\/.*\/index\.html.*/,
/^\/sheet\/inner\.html.*/, /^\/sheet\/inner\.html.*/,
/^\/ooslide\/inner\.html.*/, /^\/ooslide\/inner\.html.*/,
/^\/oodoc\/inner\.html.*/, /^\/oodoc\/inner\.html.*/,

Loading…
Cancel
Save