mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-30 19:30:06 +00:00
Update Protospack Name and Network Config
This commit is contained in:
@@ -4,7 +4,7 @@ import {
|
||||
GrpcOptions,
|
||||
Transport,
|
||||
} from '@nestjs/microservices';
|
||||
import { NetworkConfig } from 'protospack-v2';
|
||||
import { NetworkConfig } from '@dadosfera/protospack-v2';
|
||||
|
||||
export class NetworkConfigClientConfiguration {
|
||||
private config: GrpcOptions = {
|
||||
@@ -15,6 +15,7 @@ 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