Upgrade dependencies

This commit is contained in:
Jacob Gunther
2022-12-17 14:15:19 -06:00
parent 52633fcd4a
commit 69e435117c
3 changed files with 9 additions and 4 deletions

View File

@@ -30,8 +30,6 @@ func init() {
log.Fatal(err)
}
r.SetEnabled(config.Cache.Enable)
if config.Cache.Enable {
if err := r.Connect(config.Redis); err != nil {
log.Fatal(err)
@@ -46,7 +44,6 @@ func init() {
log.Println("Successfully retrieved EULA blocked servers")
app.Config()
app.Use(recover.New())
app.Use(cors.New(cors.Config{
AllowOrigins: "*",