mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
Смена рузультата ответа на CommandService.ashx
git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/nodeJSProjects@56665 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
@ -44,6 +44,7 @@ docsCoServer.install(server, function() {
|
||||
|
||||
app.get('/CommandService.ashx', function(req, res) {
|
||||
var result = docsCoServer.commandFromServer(req.query);
|
||||
res.send('Command result: ' + result);
|
||||
|
||||
res.send(JSON.stringify({'key': req.query.key, 'error': result}));
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user