diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e7ca1b2..fe05549 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,7 @@ on: - master paths-ignore: - ".github/workflows/agent.yml" + - ".github/workflows/codeql-analysis.yml" - ".github/workflows/test-on-pr.yml" - "README.md" - ".goreleaser.yml" diff --git a/cmd/dashboard/controller/common_page.go b/cmd/dashboard/controller/common_page.go index ca28ffe..9ee6119 100644 --- a/cmd/dashboard/controller/common_page.go +++ b/cmd/dashboard/controller/common_page.go @@ -322,8 +322,8 @@ func (cp *commonPage) terminal(c *gin.Context) { } defer conn.Close() - log.Println("NEZHA>> terminal connected", isAgent, c.Request.URL) - defer log.Println("NEZHA>> terminal disconnected", isAgent, c.Request.URL) + log.Printf("NEZHA>> terminal connected %t %q", isAgent, c.Request.URL) + defer log.Printf("NEZHA>> terminal disconnected %t %q", isAgent, c.Request.URL) if isAgent { terminal.agentConn = conn diff --git a/resource/template/dashboard/login.html b/resource/template/dashboard/login.html index 4a27ef4..dfe5c79 100644 --- a/resource/template/dashboard/login.html +++ b/resource/template/dashboard/login.html @@ -11,7 +11,7 @@ 登录