mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Don't make browsers fail on sync-xhr until require-kernel is dropped
This commit is contained in:
parent
e86547c4f5
commit
e483b91916
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@ exports.expressCreateServer = (hookName, args, cb) => {
|
|||
isReadOnly,
|
||||
});
|
||||
|
||||
// can be removed when require-kernel is dropped
|
||||
res.header('Feature-Policy', 'sync-xhr \'self\'');
|
||||
res.send(eejs.require('ep_etherpad-lite/templates/pad.html', {
|
||||
req,
|
||||
toolbar,
|
||||
|
|
Loading…
Reference in a new issue