From 0e7010c74ce9ab7e6aeb5dedc4af0eeda228df0c Mon Sep 17 00:00:00 2001 From: Johannes Metzner Date: Mon, 25 Oct 2021 13:52:30 +0200 Subject: [PATCH] fix: dns resolve issue in ssr --- server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.ts b/server.ts index 00bad2df8e..34693bb711 100644 --- a/server.ts +++ b/server.ts @@ -56,7 +56,7 @@ export function app() { if (icmProtocol === 'https') { const https = require('https'); - const [, icmHost, icmPort] = /^(.*?):?([0-9]+)?$/.exec(icmBase); + const [, icmHost, icmPort] = /^(.*?):?([0-9]+)?[\/]*$/.exec(icmBase); const options = { host: icmHost,