Move fonts to the onlyoffice build

pull/1/head
yflory 6 years ago
parent 4e6df3d1c0
commit 0e61c46dcf

@ -211,17 +211,6 @@ var send404 = function (res, path) {
}); });
}; };
/* All fonts file replaced by the list of fonts in ttf */
app.use("/common/onlyoffice/sdkjs/common/AllFonts.js",
Express.static("./www/common/onlyoffice/AllFonts.js"));
/* Replace fonts thumbnail call */
app.use("/common/onlyoffice/sdkjs/common/Images/fonts_thumbnail@2x.png",
Express.static("./www/common/onlyoffice/fonts_thumbnail@2x.png"));
app.use("/common/onlyoffice/sdkjs/common/Images/fonts_thumbnail.png",
Express.static("./www/common/onlyoffice/fonts_thumbnail.png"));
app.use(function (req, res, next) { app.use(function (req, res, next) {
res.status(404); res.status(404);
send404(res, custom_four04_path); send404(res, custom_four04_path);

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 584 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save