pinokiod 0.1.49 → 0.1.50

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": "0.1.49",
3
+ "version": "0.1.50",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -40,7 +40,7 @@
40
40
  "multer": "^1.4.5-lts.1",
41
41
  "node-downloader-helper": "^2.1.9",
42
42
  "node-pty-prebuilt-multiarch-cp": "^0.10.1-pre.48",
43
- "pdrive": "^0.0.8",
43
+ "pdrive": "^0.0.9",
44
44
  "portfinder": "^1.0.32",
45
45
  "rimraf": "^5.0.0",
46
46
  "sanitize-filename": "^1.6.3",
package/server/index.js CHANGED
@@ -721,6 +721,7 @@ class Server {
721
721
  gitRemote,
722
722
  filename,
723
723
  filepath,
724
+ encodedFilePath: encodeURIComponent(filepath),
724
725
  schemaPath,
725
726
  uri,
726
727
  mod,
@@ -664,7 +664,7 @@ document.addEventListener("DOMContentLoaded", async () => {
664
664
  */
665
665
  })
666
666
  const reloadMemory = async () => {
667
- let url = "/pinokio/memory?filepath=" + encodeURI("<%-filepath%>")
667
+ let url = "/pinokio/memory?filepath=<%=encodedFilePath%>"
668
668
  console.log("Url", url)
669
669
  let memory = await fetch(url).then((res) => {
670
670
  return res.json()