Updated to latest aero version
This commit is contained in:
4
main.go
4
main.go
@ -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())
|
||||
|
||||
|
Reference in New Issue
Block a user