pinokiod 3.57.0 → 3.58.0

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.57.0",
3
+ "version": "3.58.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -1574,6 +1574,7 @@ class Server {
1574
1574
  // let list = this.getPeerInfo()
1575
1575
  let list = this.getPeers()
1576
1576
 
1577
+ console.log("agent", req.agent)
1577
1578
  if (meta) {
1578
1579
  items = running.concat(notRunning)
1579
1580
  res.render("index", {
@@ -2948,8 +2949,9 @@ class Server {
2948
2949
  if (userAgent.includes("Pinokio")) {
2949
2950
  req.agent = "electron"
2950
2951
  } else {
2951
- req.agent = "browser"
2952
+ req.agent = "web"
2952
2953
  }
2954
+ console.log("req.agent", req.agent)
2953
2955
  next();
2954
2956
  })
2955
2957
 
@@ -2393,9 +2393,6 @@ body.minimized header .home {
2393
2393
  top: 0;
2394
2394
  }
2395
2395
  body.minimized header {
2396
- /*
2397
- padding: 26px 0 0 !important;
2398
- */
2399
2396
  overflow: auto;
2400
2397
  flex-shrink: 0;
2401
2398
  position: fixed;