From a3ed7694c04e3148bb00e66dbd26bc80e7611e75 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Fri, 2 Feb 2024 20:58:12 +0100 Subject: [PATCH] Removed HTTPS --- server/New.go | 5 ----- 1 file changed, 5 deletions(-) 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,