mirror of
https://github.com/kataras/iris.git
synced 2026-01-05 03:07:38 +00:00
Set the session's configuration to a pointer
This commit is contained in:
2
iris.go
2
iris.go
@@ -220,7 +220,7 @@ func New(cfg ...config.Iris) *Framework {
|
||||
engines: make([]*templateEngineWrapper, 0),
|
||||
}
|
||||
//set the session manager
|
||||
s.sessions = newSessionsManager(c.Sessions)
|
||||
s.sessions = newSessionsManager(&c.Sessions)
|
||||
// set the websocket server
|
||||
s.Websocket = NewWebsocketServer(s.Config.Websocket)
|
||||
// set the servemux, which will provide us the public API also, with its context pool
|
||||
|
||||
Reference in New Issue
Block a user