mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-18 06:39:08 +00:00
checking if env is local to disable ssl
This commit is contained in:
@@ -17,7 +17,10 @@ export class ConnectionClientConfiguration {
|
||||
ConnectionManager.ProtoPackages.ReadPackage,
|
||||
],
|
||||
// credentials: undefined,
|
||||
credentials: process.env.LOCAL_ENV ? undefined : credentials.createSsl(),
|
||||
credentials:
|
||||
process.env.LOCAL_ENV || process.env.ENV === 'local'
|
||||
? undefined
|
||||
: credentials.createSsl(),
|
||||
protoPath: [
|
||||
ConnectionManager.ProtoPaths.WriteFilePath,
|
||||
ConnectionManager.ProtoPaths.ReadFilePath,
|
||||
|
||||
Reference in New Issue
Block a user