Update cmd/dashboard/controller/common_page.go

Co-authored-by: naiba <hi@nai.ba>
This commit is contained in:
Akkia 2022-04-13 15:18:10 +08:00 committed by GitHub
parent a22c58305b
commit 1d6cca7a9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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