pinokiod 3.17.5 → 3.17.6
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 +1 -1
- package/server/index.js +3 -0
package/package.json
CHANGED
package/server/index.js
CHANGED
|
@@ -1556,6 +1556,7 @@ class Server {
|
|
|
1556
1556
|
if (!config) {
|
|
1557
1557
|
return { menu: [] }
|
|
1558
1558
|
}
|
|
1559
|
+
console.log("renderMenu2 Before", JSON.stringify(config, null, 2))
|
|
1559
1560
|
|
|
1560
1561
|
if (config.menu) {
|
|
1561
1562
|
for(let i=0; i<config.menu.length; i++) {
|
|
@@ -1594,6 +1595,7 @@ class Server {
|
|
|
1594
1595
|
//config.script_id = this.kernel.path(keypath) + "?cwd=" + base.cwd
|
|
1595
1596
|
config.script_id = path.resolve(base.path, config.href) + "?cwd=" + base.cwd
|
|
1596
1597
|
}
|
|
1598
|
+
console.log("renderMenu2 After", JSON.stringify(config, null, 2))
|
|
1597
1599
|
return config
|
|
1598
1600
|
}
|
|
1599
1601
|
|
|
@@ -2369,6 +2371,7 @@ class Server {
|
|
|
2369
2371
|
await this.renderMenu(uri, name, plugin, [])
|
|
2370
2372
|
return plugin
|
|
2371
2373
|
} catch (e) {
|
|
2374
|
+
console.log("getPlugin ERROR", e)
|
|
2372
2375
|
return {
|
|
2373
2376
|
menu: []
|
|
2374
2377
|
}
|