fix session redis store bug
This commit is contained in:
parent
6e9bc9b7be
commit
074b2f4269
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ func SessionConnect() {
|
||||||
}
|
}
|
||||||
|
|
||||||
args = append(args, config.Conf.Session.Port, config.Conf.Session.DB, config.Conf.Session.Password)
|
args = append(args, config.Conf.Session.Port, config.Conf.Session.DB, config.Conf.Session.Password)
|
||||||
rdb, err := session.NewRedis(config.Conf.Host, args...)
|
rdb, err := session.NewRedis(config.Conf.Session.Host, args...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue