From 69cd1c740997cf2ccb6a710826a06ee82e41dbe7 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Thu, 25 Sep 2025 15:52:45 -0700 Subject: Use a slightly more conservative cookie expiration --- roseh.moe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roseh.moe.go') diff --git a/roseh.moe.go b/roseh.moe.go index 57be8b2..2cdf68f 100644 --- a/roseh.moe.go +++ b/roseh.moe.go @@ -185,7 +185,7 @@ func favicon(w http.ResponseWriter, r *http.Request) { serveStaticFile(w, r, "static/favicon.ico") } -const cookieExpiration = 400 * 24 * time.Hour +const cookieExpiration = 180 * 24 * time.Hour func attachCookie(w http.ResponseWriter) error { nowBytes, err := time.Now().MarshalBinary() -- cgit v1.3.1