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:
@ -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",
|
||||||
|
Reference in New Issue
Block a user