diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-09-25 15:52:45 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-09-25 15:52:45 -0700 |
| commit | 69cd1c740997cf2ccb6a710826a06ee82e41dbe7 (patch) | |
| tree | bb45b39482465ab5f202452f6bf2b19f05f2e646 | |
| parent | 08ee0dcc57a295b28ce400c0566a196b3e88447f (diff) | |
| download | roseh.moe-69cd1c740997cf2ccb6a710826a06ee82e41dbe7.tar.zst | |
Use a slightly more conservative cookie expiration
| -rw-r--r-- | roseh.moe.go | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
