@sovovs/bycli 2.1.3 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -420,7 +420,7 @@ async function handleRequest(req, res) {
420
420
  setTimeout(() => shutdown(), 100);
421
421
  return;
422
422
  }
423
- if (req.method === 'POST' && url === '/command') {
423
+ if (req.method === 'POST' && pathname === '/command') {
424
424
  try {
425
425
  const body = JSON.parse(await readBody(req));
426
426
  if (!body.id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sovovs/bycli",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },