1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 08:48:06 +08:00

fix route

This commit is contained in:
shaoying 2020-03-09 19:29:47 +08:00
parent 0f94b5b1f7
commit ff7453d540
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ var can = Volcanos("chrome", {
}, function() {can.user.toast("wss connect", "iceberg")}) }, function() {can.user.toast("wss connect", "iceberg")})
chrome.history.onVisited.addListener(function(item) { chrome.history.onVisited.addListener(function(item) {
can.run(can, {names: "crx", cmd: ["history", item.id, item.url, item.title]}, function(msg) { can.run(can, {names: "chrome/crx", cmd: ["history", item.id, item.url, item.title]}, function(msg) {
can.user.toast(item.url, item.title) can.user.toast(item.url, item.title)
}) })
}) })

View File

@ -9,7 +9,7 @@ var Config = {iceberg: "http://localhost:9020/chat/", volcano: "/",
"pane/Target", "pane/Source", "pane/Action", "pane/Target", "pane/Source", "pane/Action",
"pane/Footer", "pane/Footer",
"plugin/state", "plugin/input", "plugin/table", "plugin/inner", "plugin/media", "plugin/state", "plugin/input", "plugin/table", "plugin/inner",
], pane: [ ], pane: [
{group: "index", name: "Toast", pos: "dialog", duration: 3000}, {group: "index", name: "Toast", pos: "dialog", duration: 3000},
{group: "index", name: "Tutor", pos: "dialog"}, {group: "index", name: "Tutor", pos: "dialog"},