pinokiod 2.15.29 → 2.15.30

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server/index.js +0 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "2.15.29",
3
+ "version": "2.15.30",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -305,14 +305,8 @@ class Server {
305
305
  }
306
306
  const env = await this.kernel.env("api/" + name)
307
307
 
308
- //let d2 = await Util.du(this.kernel.homedir)
309
-
310
- //console.log("d2",d2)
311
-
312
308
  //res.render("browser", {
313
309
  res.render("browser-experimental", {
314
- // d1,
315
- // d2,
316
310
  env,
317
311
  mode,
318
312
  port: this.port,
@@ -2597,10 +2591,7 @@ class Server {
2597
2591
  }))
2598
2592
  this.app.get("/du/:name", ex(async (req, res) => {
2599
2593
  let p = this.kernel.path("api", req.params.name)
2600
- console.time("a")
2601
2594
  let d1 = await Util.du(p)
2602
- console.log("d1", d1)
2603
- console.timeEnd("a")
2604
2595
  res.json({ du: d1 })
2605
2596
  }))
2606
2597
  this.app.get("/edit/*", ex(async (req, res) => {