diff --git a/server/New.go b/server/New.go index ce7fd000..0dc02416 100644 --- a/server/New.go +++ b/server/New.go @@ -12,7 +12,6 @@ import ( "github.com/animenotifier/notify.moe/assets" "github.com/animenotifier/notify.moe/pages" "github.com/animenotifier/notify.moe/server/auth" - "github.com/animenotifier/notify.moe/server/https" "github.com/animenotifier/notify.moe/server/middleware" ) @@ -30,9 +29,6 @@ func New() *aero.Application { app.ContentSecurityPolicy.Set("connect-src", "https: wss: data:") app.ContentSecurityPolicy.Set("font-src", "https: data:") - // Security - https.Configure(app) - // Assets assets.Configure(app) @@ -48,7 +44,6 @@ func New() *aero.Application { } else { app.Use( middleware.Recover, - middleware.HTTPSRedirect, middleware.OpenGraph, middleware.Log, middleware.Session,