Updated to latest aero version

This commit is contained in:
2017-11-11 15:09:30 +01:00
parent 2c37bcf6dd
commit 560f87d3f2
3 changed files with 93 additions and 90 deletions

View File

@ -6,7 +6,6 @@ import (
"github.com/animenotifier/arn"
"github.com/animenotifier/notify.moe/auth"
"github.com/animenotifier/notify.moe/components/css"
"github.com/animenotifier/notify.moe/layout"
"github.com/animenotifier/notify.moe/middleware"
"github.com/animenotifier/notify.moe/pages"
)
@ -23,9 +22,6 @@ func configure(app *aero.Application) *aero.Application {
app.Sessions.Duration = 3600 * 24 * 30 * 6
app.Sessions.Store = nanostore.New(arn.DB.Collection("Session"))
// Layout
app.Layout = layout.Render
// CSS
app.SetStyle(css.Bundle())