This commit is contained in:
root committed 2018-09-02 11:24:40 +08:00
1 parent 62ee753076
commit 4e929eacaa
1 file changed
+1 -1
+1 -1
View File
@@ -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
}