update...

This commit is contained in:
kenneth
2023-12-05 06:24:03 +00:00
parent 3ab59de5f9
commit 26ee393549
2 changed files with 5 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ func NewServer(templateFS fs.FS, staticFS fs.FS, imgFS fs.FS, conf *config.Confi
hashKey := securecookie.GenerateRandomKey(32)
blockKey := securecookie.GenerateRandomKey(32)
secureCookie := securecookie.New(hashKey, blockKey)
secureCookie.MaxAge(7200)
// secureCookie.MaxAge(7200)
server := &Server{
templateFS: templateFS,