add CORS headers for SharedArrayBuffers. remove deprecated unrotate(). fixes #239. see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
This commit is contained in:
parent
fa6d07ed15
commit
9556e82128
2 changed files with 1 additions and 2 deletions
2
app.js
2
app.js
|
|
@ -822,7 +822,7 @@ function cookieValue(cookie,key) {
|
|||
}
|
||||
|
||||
function rewriteHtmlVersion(req, res, next) {
|
||||
if (["/kiri/","/mesh/","/meta/"].indexOf(req.app.path) >= 0) {
|
||||
if (["/kiri/","/mesh/","/meta/","/kiri/engine.html","/kiri/frame.html"].indexOf(req.app.path) >= 0) {
|
||||
addCorsHeaders(req, res);
|
||||
let real_write = res.write;
|
||||
let real_end = res.end;
|
||||
|
|
|
|||
|
|
@ -143,7 +143,6 @@ class Engine {
|
|||
accept(this);
|
||||
}
|
||||
});
|
||||
kiri.client.unrotate(this.settings);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue