添加安全的header头

This commit is contained in:
bjdgyc
2023-08-24 16:59:35 +08:00
parent 7714c2a3e8
commit 08de4fe086
7 changed files with 56 additions and 25 deletions

View File

@@ -49,7 +49,7 @@ func LinkAuth(w http.ResponseWriter, r *http.Request) {
return
}
// fmt.Printf("%+v \n", cr)
setCommonHeader(w)
// setCommonHeader(w)
if cr.Type == "logout" {
// 退出删除session信息
if cr.SessionToken != "" {