No longer using app.SetStyle

This commit is contained in:
2017-11-28 21:48:12 +01:00
parent c1bd0f3a8c
commit 0b6b161a37
5 changed files with 12 additions and 9 deletions

View File

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