From bbdd51595feeb6bf3547bb2d147c8e9632d84605 Mon Sep 17 00:00:00 2001 From: shylinux Date: Mon, 9 Mar 2020 12:48:56 +0800 Subject: [PATCH] fix boot --- core/chat/chat.go | 1 + template.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/chat/chat.go b/core/chat/chat.go index ba3191e1..71845be7 100644 --- a/core/chat/chat.go +++ b/core/chat/chat.go @@ -34,6 +34,7 @@ var Index = &ice.Context{Name: "chat", Help: "聊天中心", []interface{}{"field", "feel", "web.wiki"}, []interface{}{"storm", "code", "code"}, + []interface{}{"field", "login", "web.code"}, []interface{}{"field", "buffer", "web.code.tmux"}, []interface{}{"field", "session", "web.code.tmux"}, []interface{}{"field", "image", "web.code.docker"}, diff --git a/template.sh b/template.sh index b5b86c79..3743f516 100755 --- a/template.sh +++ b/template.sh @@ -64,7 +64,7 @@ END export PATH=\${PWD}/bin:\${PWD}:\$PATH export ctx_pid=\${ctx_pid:=var/run/ice.pid} export ctx_log=\${ctx_log:=bin/boot.log} -export ctx_mod=\${ctx_mod:="ssh ctx log gdb"} +export ctx_mod=\${ctx_mod:="gdb,log,ssh,ctx"} prepare() { [ -d bin ] || mkdir bin