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