Skip to content

Commit

Permalink
spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudkov committed Aug 27, 2024
1 parent 611a75d commit f4baf7a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions cmd/goatak_server/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (

"github.com/gofiber/fiber/v2"
"github.com/gofiber/fiber/v2/middleware/basicauth"

"github.com/kdudkov/goatak/internal/repository"
)

Expand Down
8 changes: 0 additions & 8 deletions cmd/goatak_server/marti_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ func NewMartiApi(app *App, addr string) *MartiAPI {
api.cert = *app.config.tlsCert
api.certPool = app.config.certPool
api.f.Use(SSLCheckHandler(app))

//api.TLSConfig = &tls.Config{
// Certificates: []tls.Certificate{*app.config.tlsCert},
// ClientCAs: app.config.certPool,
// RootCAs: app.config.certPool,
// ClientAuth: tls.RequireAndVerifyClientCert,
// MinVersion: tls.VersionTLS10,
//}
}

addMartiRoutes(app, api.f)
Expand Down

0 comments on commit f4baf7a

Please sign in to comment.