Removed route linters

This commit is contained in:
2021-11-19 17:34:24 +09:00
parent 0dbbd9e621
commit 00f6d0f1b5
3 changed files with 3 additions and 13 deletions

View File

@ -16,7 +16,6 @@ import (
"github.com/animenotifier/notify.moe/server/https"
"github.com/animenotifier/notify.moe/server/middleware"
"github.com/animenotifier/notify.moe/utils/htmlemail"
"github.com/animenotifier/notify.moe/utils/routetests"
)
// New creates a new web server.
@ -103,11 +102,6 @@ func New() *aero.Application {
return !strings.Contains(ctx.Request().Header("Referer"), "/service-worker")
})
// Specify test routes
for route, examples := range routetests.All() {
app.Test(route, examples...)
}
return app
}