Skip to content

Commit

Permalink
[bug] Fix 'command' path in proxyCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
konovalovsergey committed Oct 9, 2024
1 parent 74a917a commit a566d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DocService/sources/DocsCoServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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])}`;
}
Expand Down

0 comments on commit a566d59

Please sign in to comment.