pinokiod 3.9.21 → 3.9.22

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.9.21",
3
+ "version": "3.9.22",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -276,7 +276,7 @@ class Server {
276
276
  }
277
277
  let browser_browse_url = browser_url + "/browse"
278
278
  return {
279
- filepath: this.kernel.path("api", name),
279
+ filepath: this.kernel.path("api", x.name),
280
280
  icon,
281
281
  iconpath,
282
282
  path: apipath,
@@ -19,6 +19,7 @@ document.addEventListener("click", async (e) => {
19
19
  },
20
20
  body: JSON.stringify({
21
21
  path: filepath,
22
+ mode: "open",
22
23
  command
23
24
  })
24
25
  }).then((res) => {