Merge pull request #50 from ONLYOFFICE/hotfix/v5.0.3-docbuilder-all-packages

add docbuilder to all packages
This commit is contained in:
Alexey Golubev
2017-10-23 16:05:59 +03:00
committed by GitHub

View File

@ -228,11 +228,6 @@ if (cluster.isMaster) {
app.get('/healthcheck', utils.checkClientIp, docsCoServer.healthCheck);
app.post('/docbuilder', utils.checkClientIp, rawFileParser, (req, res) => {
if (constants.PACKAGE_TYPE_I !== license.packageType) {
logger.error('In this installation there is no docbuilder');
res.sendStatus(403);
return;
}
const licenseInfo = docsCoServer.getLicenseInfo();
if (licenseInfo.type !== constants.LICENSE_RESULT.Success) {
logger.error('License expired');