Remove x2t from repo and use the one installed by install-onlyoffice.sh instead

This commit is contained in:
Wolfgang Ginolas 2024-04-08 14:28:18 +02:00 committed by wginolas
parent 79d7529caf
commit 5bf65cfbdb
3 changed files with 1 additions and 5372 deletions

File diff suppressed because it is too large Load diff

Binary file not shown.

View file

@ -65,7 +65,7 @@ define([
}; };
var getX2T = function (cb) { var getX2T = function (cb) {
// Perform the x2t conversion // Perform the x2t conversion
require(['/common/onlyoffice/x2t/x2t.js'], function() { // FIXME why does this fail without an access-control-allow-origin header? require(['/common/onlyoffice/dist/x2t/x2t.js'], function() { // FIXME why does this fail without an access-control-allow-origin header?
var x2t = window.Module; var x2t = window.Module;
if (x2tInitialized) { if (x2tInitialized) {
debug("x2t runtime already initialized"); debug("x2t runtime already initialized");