1
0
forked from x/icebergs
This commit is contained in:
harveyshao 2022-10-23 12:49:40 +08:00
parent f93de948d6
commit f0ce38fdc1
2 changed files with 6 additions and 1 deletions

View File

@ -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 {

View File

@ -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"))