cmd/route: secure
This commit is contained in:
parent
6529dec9db
commit
a224f2fe0c
|
@ -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"})
|
||||
|
|
Loading…
Reference in New Issue