mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 08:48:06 +08:00
fix route
This commit is contained in:
parent
0f94b5b1f7
commit
ff7453d540
@ -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)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -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"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user