Improved service worker

This commit is contained in:
2017-07-14 04:58:21 +02:00
parent 815f99ce9c
commit 2e504548c4
3 changed files with 97 additions and 66 deletions

View File

@ -58,7 +58,7 @@ func configure(app *aero.Application) *aero.Application {
app.SetStyle(css.Bundle())
// Sessions
app.Sessions.Duration = 3600 * 24 * 30
app.Sessions.Duration = 3600 * 24 * 30 * 6
app.Sessions.Store = aerospikestore.New(arn.DB, "Session", app.Sessions.Duration)
// Layout