fix
This commit is contained in:
parent
62ee753076
commit
4e929eacaa
@ -26,7 +26,7 @@ func NewServ() *gin.Engine {
|
||||
// enable cors
|
||||
r.Use(cors.Default())
|
||||
// session
|
||||
r.Use(sessions.Sessions("gin:sess", store))
|
||||
r.Use(sessions.Sessions("ginsess", store))
|
||||
|
||||
return r
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user