This commit is contained in:
parent
afa1e1bd72
commit
2aada6342c
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -119,7 +119,7 @@ func main() {
|
||||||
))
|
))
|
||||||
ro := redis.Options{
|
ro := redis.Options{
|
||||||
Addr: os.Getenv("REDIS_HORST"),
|
Addr: os.Getenv("REDIS_HORST"),
|
||||||
DB: os.Getenv("REDIS_DB"),
|
DB: os.Getenv("REDIS_DB").(int),
|
||||||
}
|
}
|
||||||
f.Use(session.Sessioner(session.Options{
|
f.Use(session.Sessioner(session.Options{
|
||||||
Initer: sredis.Initer(),
|
Initer: sredis.Initer(),
|
||||||
|
|
Loading…
Reference in a new issue