chore: add route backend skype tls verification

This commit is contained in:
Jonas Kaninda
2024-11-14 22:30:36 +01:00
parent e8878d795e
commit 88c0be1b63
3 changed files with 12 additions and 2 deletions

View File

@@ -118,6 +118,7 @@ func (gatewayServer GatewayServer) Initialize() *mux.Router {
disableHostFording: route.DisableHostFording,
methods: route.Methods,
cors: route.Cors,
insecureSkipVerify: route.InsecureSkipVerify,
}
secureRouter := r.PathPrefix(util.ParseRoutePath(route.Path, midPath)).Subrouter()
//callBackRouter := r.PathPrefix(util.ParseRoutePath(route.Path, "/callback")).Subrouter()
@@ -225,6 +226,7 @@ func (gatewayServer GatewayServer) Initialize() *mux.Router {
methods: route.Methods,
disableHostFording: route.DisableHostFording,
cors: route.Cors,
insecureSkipVerify: route.InsecureSkipVerify,
}
// create route
router := r.PathPrefix(route.Path).Subrouter()