mirror of
https://github.com/dadosfera/maestro.git
synced 2026-10-13 20:09:08 +00:00
fix(test): handle missing infactory url
This commit is contained in:
@@ -6,9 +6,9 @@ import {
|
||||
} from '@nestjs/microservices';
|
||||
import { ConnectionManager } from '@dadosfera/protospack-v2';
|
||||
|
||||
const infactoryUrl = process.env.INFACTORY_URL ?? '';
|
||||
const isLocalConnection =
|
||||
process.env.INFACTORY_URL.startsWith('in-factory:') ||
|
||||
process.env.INFACTORY_URL.includes('0.0.0.0');
|
||||
infactoryUrl.startsWith('in-factory:') || infactoryUrl.includes('0.0.0.0');
|
||||
|
||||
export class ConnectionClientConfiguration {
|
||||
public name = 'ConnectionClientConfiguration';
|
||||
|
||||
Reference in New Issue
Block a user