Cody Joyce 2 月之前
父节点
当前提交
3e666ea899
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      srv/res.go

+ 1 - 1
srv/res.go

@@ -81,7 +81,7 @@ func (res *Res) Cookie(name string, val string, expires ...time.Time) *Res {
 		Value:    val,
 		Expires:  Expires,
 		Path:     "/",
-		Secure:   true,
+		Secure:   false,
 		HttpOnly: true,
 		SameSite: http.SameSiteStrictMode,
 	}