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,
 	}