forked from x/icebergs
opt some
This commit is contained in:
parent
f93de948d6
commit
f0ce38fdc1
@ -250,10 +250,15 @@ func _serve_handle(key string, cmd *ice.Command, msg *ice.Message, w http.Respon
|
||||
msg.Option(ice.MSG_USERPOD, msg.Option(ice.POD))
|
||||
}
|
||||
|
||||
msg.Debug("what %v", msg.FormatMeta())
|
||||
msg.Debug("what %v", msg.FormatMeta())
|
||||
msg.Debug("what %v", msg.Option(CookieName(msg.Option(ice.MSG_USERWEB))))
|
||||
msg.Debug("what %v", CookieName(msg.Option(ice.MSG_USERWEB)))
|
||||
// 会话参数
|
||||
if sessid := msg.Option(CookieName(msg.Option(ice.MSG_USERWEB))); msg.Option(ice.MSG_SESSID) == "" {
|
||||
msg.Option(ice.MSG_SESSID, sessid)
|
||||
}
|
||||
msg.Debug("what %v", msg.FormatMeta())
|
||||
|
||||
// 解析命令
|
||||
if msg.Optionv(ice.MSG_CMDS) == nil {
|
||||
|
@ -166,7 +166,7 @@ func init() {
|
||||
}},
|
||||
}, Hand: func(m *ice.Message, arg ...string) {
|
||||
if m.Cmdy(INNER, arg); arg[0] != ctx.ACTION {
|
||||
m.Action(AUTOGEN, nfs.SCRIPT, web.WEBSITE, web.DREAM, nfs.SAVE, COMPILE, XTERM)
|
||||
m.Action(AUTOGEN, nfs.SCRIPT, web.WEBSITE, web.DREAM, nfs.SAVE, COMPILE)
|
||||
m.Option("tabs", m.Config("show.tabs"))
|
||||
m.Option("plug", m.Config("show.plug"))
|
||||
m.Option("exts", m.Config("show.exts"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user