1
0
forked from x/icebergs
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-11-23 23:25:09 +08:00
parent 7544359c5c
commit 181b6b4650

View File

@ -1,5 +1,6 @@
Volcanos(chat.ONIMPORT, {
_init: function(can, msg) { var p = "/cmd/web.wiki.portal"
can.isCmdMode() && (can.user.toast = function() {})
can.db.prefix = location.pathname.indexOf(p) > 0? location.pathname.split(p)[0]+p: "/wiki/portal/"
can.db.current = can.isCmdMode()? can.base.trimPrefix(location.pathname, can.db.prefix+"/", can.db.prefix): can.Option(nfs.PATH)
can.sup.onexport.link = function() { return can.db.prefix }