diff --git a/main.go b/main.go index e309d509..8175df88 100644 --- a/main.go +++ b/main.go @@ -146,9 +146,8 @@ func main() { // Initialize session store store := cookie.NewStore([]byte(common.SessionSecret)) store.Options(sessions.Options{ - Path: "/api", - Secure: false, - HttpOnly: true, + Path: "/", + Secure: false, }) server.Use(sessions.Sessions("session", store))