添加版本信息

This commit is contained in:
bjdgyc
2022-11-17 17:38:25 +08:00
parent ce232937ec
commit 68fa1110f1
4 changed files with 9 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ type macAddressList struct {
func setCommonHeader(w http.ResponseWriter) {
// Content-Length Date 默认已经存在
w.Header().Set("Server", "AnyLink")
w.Header().Set("Content-Type", "text/html; charset=utf-8")
w.Header().Set("Cache-Control", "no-store,no-cache")
w.Header().Set("Pragma", "no-cache")