mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
update cookie store
This commit is contained in:
parent
e5a1a88a02
commit
5a0587c3ce
@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
store := sessions.NewCookieStore([]byte("secret"))
|
||||
store := sessions.NewStore([]byte("secret"))
|
||||
|
||||
first := server.Site{
|
||||
PathToData: "site1",
|
||||
|
Loading…
Reference in New Issue
Block a user