From a566d5982a7f6723ce97986c909c5431cffca584 Mon Sep 17 00:00:00 2001 From: Sergey Konovalov Date: Wed, 9 Oct 2024 08:53:56 +0300 Subject: [PATCH] [bug] Fix 'command' path in proxyCommand --- DocService/sources/DocsCoServer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DocService/sources/DocsCoServer.js b/DocService/sources/DocsCoServer.js index e1ad2203..ca1a090c 100644 --- a/DocService/sources/DocsCoServer.js +++ b/DocService/sources/DocsCoServer.js @@ -4254,7 +4254,7 @@ async function proxyCommand(ctx, req, params) { //todo gen shardkey as in sdkjs const shardkey = params.key; const baseUrl = utils.getBaseUrlByRequest(ctx, req); - let url = `${baseUrl}/coauthoring/command?&${constants.SHARD_KEY_API_NAME}=${encodeURIComponent(shardkey)}`; + let url = `${baseUrl}/command?&${constants.SHARD_KEY_API_NAME}=${encodeURIComponent(shardkey)}`; for (let name in req.query) { url += `&${name}=${encodeURIComponent(req.query[name])}`; }