forked from x/icebergs
add some
This commit is contained in:
parent
30a7ce39b4
commit
d98a322d05
@ -407,7 +407,8 @@ func init() {
|
||||
if p := path.Join(ice.SRC_TEMPLATE, m.PrefixKey(), path.Join(arg...)); nfs.Exists(m, p) {
|
||||
return p + kit.Select("", nfs.PS, len(arg) == 0)
|
||||
} else {
|
||||
return kit.MergeURL2(UserHost(m)+ctx.GetCmdFile(m, m.PrefixKey()), path.Join(arg...))
|
||||
return kit.MergeURL2(SpideOrigin(m, ice.OPS)+m.FileURI(ctx.GetCmdFile(m, m.PrefixKey())), path.Join(arg...))
|
||||
return kit.MergeURL2(UserHost(m)+m.FileURI(ctx.GetCmdFile(m, m.PrefixKey())), path.Join(arg...))
|
||||
}
|
||||
}
|
||||
nfs.DocumentPath = func(m *ice.Message, arg ...string) string {
|
||||
|
@ -100,8 +100,8 @@ func init() {
|
||||
}},
|
||||
}, mdb.ExportZoneAction(mdb.FIELDS, "time,id,type,name,text,nconn,nreqs")), Hand: func(m *ice.Message, arg ...string) {
|
||||
mdb.ZoneSelect(m, arg...)
|
||||
kit.If(len(arg) == 1, func() { m.Action(cli.START) })
|
||||
m.PushAction(kit.Select(cli.START, mdb.REMOVE, len(arg) == 0))
|
||||
kit.If(len(arg) == 1, func() { m.Action(mdb.INSERT, cli.START) })
|
||||
}},
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user