mirror of https://github.com/xwiki-labs/cryptpad
Removing console.log in the server about onlyoffice fonts
This commit is contained in:
parent
4946a44e33
commit
dbe8571a40
|
@ -221,10 +221,7 @@ var FONT_NAME_MAP = {};
|
|||
/* Currently not active, but might be necessary */
|
||||
app.use("/common/onlyoffice/fonts/odttf/:name", function (req, res) {
|
||||
var name = req.params.name.replace(/\.js$/, '').toLowerCase();
|
||||
console.log(name);
|
||||
if (!FONT_NAME_MAP[name]) {
|
||||
console.log(name);
|
||||
console.log(FONT_NAME_MAP[name]);
|
||||
res.status(400).send('No such font');
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue