diff --git a/app/modules/bma/index.ts b/app/modules/bma/index.ts index b7056215cf377262435a34532d788077e722f9e5..8d088641efd7e22cbb5bcfcdbed0903acefda81a 100644 --- a/app/modules/bma/index.ts +++ b/app/modules/bma/index.ts @@ -269,6 +269,9 @@ export class BMAPI extends stream.Transform { function getEndpoint(theConf:NetworkConfDTO) { let endpoint = 'BASIC_MERKLED_API'; + if (theConf.remoteport && theConf.remoteport == 443) { + endpoint = 'BMAS'; + } if (theConf.remotehost) { if (theConf.remotehost.match(BMAConstants.HOST_ONION_REGEX)) { endpoint = 'BMATOR';