Cody Joyce 2 tháng trước cách đây
mục cha
commit
3e666ea899
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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,
 	}