feat: make authorization cookie default expiration time customizable (#389)

This commit is contained in:
Jareth Gomes
2025-05-01 03:05:33 -07:00
committed by GitHub
parent feb3dd2bcb
commit 91275c489f
7 changed files with 120 additions and 6 deletions

View File

@@ -29,6 +29,7 @@ type Options struct {
ServeRobotsTXT bool
PrivateKey ed25519.PrivateKey
CookieExpiration time.Duration
CookieDomain string
CookieName string
CookiePartitioned bool