mirror of https://github.com/bjdgyc/anylink.git
修改server信息
This commit is contained in:
parent
ce61401304
commit
6e95ea5441
|
@ -44,7 +44,7 @@ type macAddressList struct {
|
||||||
|
|
||||||
func setCommonHeader(w http.ResponseWriter) {
|
func setCommonHeader(w http.ResponseWriter) {
|
||||||
// Content-Length Date 默认已经存在
|
// Content-Length Date 默认已经存在
|
||||||
w.Header().Set("Server", "AnyLink")
|
w.Header().Set("Server", "AnyLinkOpenSource")
|
||||||
w.Header().Set("Content-Type", "text/html; charset=utf-8")
|
w.Header().Set("Content-Type", "text/html; charset=utf-8")
|
||||||
w.Header().Set("Cache-Control", "no-store,no-cache")
|
w.Header().Set("Cache-Control", "no-store,no-cache")
|
||||||
w.Header().Set("Pragma", "no-cache")
|
w.Header().Set("Pragma", "no-cache")
|
||||||
|
|
Loading…
Reference in New Issue