diff --git a/cmd/gateway/main.go b/cmd/gateway/main.go index 7f9a448..33737cc 100644 --- a/cmd/gateway/main.go +++ b/cmd/gateway/main.go @@ -41,7 +41,9 @@ func main() { } // Create the connection to the server. - conn, err := grpc.Dial(fmt.Sprintf("%s:%d", config.Server.Address, config.Server.Port)) + conn, err := grpc.Dial( + fmt.Sprintf("%s:%d", config.Server.Address, config.Server.Port), + grpc.WithInsecure()) if err != nil { log.Fatal(err) } diff --git a/config/gateway.yaml b/config/gateway.yaml index fdc30bb..4c3ac8d 100644 --- a/config/gateway.yaml +++ b/config/gateway.yaml @@ -4,4 +4,3 @@ server: address: localhost port: 8080 secret: secret - \ No newline at end of file