mirror of
https://github.com/dadosfera/maestro.git
synced 2026-12-02 03:00:06 +00:00
REFACTOR: inputs inside its own module
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
} from '@nestjs/microservices';
|
||||
import { NetworkConfig } from '@dadosfera/protospack-v2';
|
||||
|
||||
export class NetworkConfigClientConfiguration {
|
||||
export class NetworkConfigGrpcClient {
|
||||
private config: GrpcOptions = {
|
||||
transport: Transport.GRPC,
|
||||
options: {
|
||||
@@ -15,7 +15,6 @@ export class NetworkConfigClientConfiguration {
|
||||
NetworkConfig.ProtoPackages.ReadPackage,
|
||||
NetworkConfig.ProtoPackages.WritePackage,
|
||||
],
|
||||
// credentials: undefined,
|
||||
credentials:
|
||||
process.env.ENV === 'local' ? undefined : credentials.createSsl(),
|
||||
protoPath: [
|
||||
|
||||
Reference in New Issue
Block a user