From 1d6cca7a9e37713997155e3bb7c28440d277a347 Mon Sep 17 00:00:00 2001 From: Akkia Date: Wed, 13 Apr 2022 15:18:10 +0800 Subject: [PATCH] Update cmd/dashboard/controller/common_page.go Co-authored-by: naiba --- cmd/dashboard/controller/common_page.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/dashboard/controller/common_page.go b/cmd/dashboard/controller/common_page.go index 1cd2ffb..09a0424 100644 --- a/cmd/dashboard/controller/common_page.go +++ b/cmd/dashboard/controller/common_page.go @@ -275,7 +275,7 @@ func (cp *commonPage) terminal(c *gin.Context) { }, true) return } - cloudflareCookies, _ = c.Cookie("CF_Authorization") +cloudflareCookies, _ := c.Cookie("CF_Authorization") terminalData, _ := utils.Json.Marshal(&model.TerminalTask{ Host: terminal.host, UseSSL: terminal.useSSL,