mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 12:24:30 +08:00
添加安全的header头
This commit is contained in:
@@ -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 != "" {
|
||||
|
Reference in New Issue
Block a user