Removed HTTPS
This commit is contained in:
parent
fb73dba780
commit
a3ed7694c0
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user