Browse Source

Fix security policy for ooslide and oodoc which would break x2t wasm export on Chrome

master
Ludovic Dubost 1 year ago
parent
commit
1065ef5d4c
1 changed files with 2 additions and 0 deletions
  1. 2
      server.js

2
server.js

@ -92,6 +92,8 @@ var setHeaders = (function () {
const h = [
/^\/pad(2)?\/inner\.html.*/,
/^\/sheet\/inner\.html.*/,
/^\/ooslide\/inner\.html.*/,
/^\/oodoc\/inner\.html.*/,
/^\/common\/onlyoffice\/.*\/index\.html.*/
].some((regex) => {
return regex.test(req.url)

Loading…
Cancel
Save