diff --git a/base/web/serve.go b/base/web/serve.go index 2d48ac25..d8521dfa 100644 --- a/base/web/serve.go +++ b/base/web/serve.go @@ -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 { diff --git a/core/code/vimer.go b/core/code/vimer.go index 497ffcea..2717e2ac 100644 --- a/core/code/vimer.go +++ b/core/code/vimer.go @@ -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"))