mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
Merge pull request #50 from ONLYOFFICE/hotfix/v5.0.3-docbuilder-all-packages
add docbuilder to all packages
This commit is contained in:
@ -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');
|
||||
|
||||
Reference in New Issue
Block a user