mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-08 21:29:08 +00:00
checking if env is local to disable ssl
This commit is contained in:
@@ -13,7 +13,10 @@ export class TransformationsClientConfiguration {
|
||||
options: {
|
||||
url: process.env.INFACTORY_URL,
|
||||
package: [Transformation.ProtoPackages.WritePackage],
|
||||
credentials: process.env.LOCAL_ENV ? undefined : credentials.createSsl(),
|
||||
credentials:
|
||||
process.env.LOCAL_ENV || process.env.ENV === 'local'
|
||||
? undefined
|
||||
: credentials.createSsl(),
|
||||
protoPath: [Transformation.ProtoPaths.WriteFilePath],
|
||||
loader: {
|
||||
enums: String,
|
||||
|
||||
Reference in New Issue
Block a user