mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 15:56:43 +08:00
添加 空闲链接超时自动断开
This commit is contained in:
@@ -25,6 +25,7 @@ func StartAdmin() {
|
||||
r.Use(func(next http.Handler) http.Handler {
|
||||
return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
|
||||
utils.SetSecureHeader(w)
|
||||
w.Header().Set("Server", "AnyLinkAdminOpenSource")
|
||||
next.ServeHTTP(w, req)
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user