memos/api/session.go
2021-12-10 13:41:17 +08:00

10 lines
142 B
Go

package api
import (
"memos/common"
"github.com/gorilla/sessions"
)
var SessionStore = sessions.NewCookieStore([]byte(common.GenUUID()))