diff --git a/cmd/route/main.go b/cmd/route/main.go index 26e36dc..61bc70d 100644 --- a/cmd/route/main.go +++ b/cmd/route/main.go @@ -140,7 +140,6 @@ func main() { creds := jwtcreds.NewFromToken(m.Get("password")) conn, err := grpc.Dial(*grpcServer, grpc.WithTransportCredentials(connCreds), - grpc.WithInsecure(), grpc.WithPerRPCCredentials(creds)) if err != nil { ln.Fatal(ln.F{"err": err, "action": "grpc.Dial"})