Skip to content

Commit

Permalink
fix: dns resolve issue in ssr
Browse files Browse the repository at this point in the history
  • Loading branch information
jometzner committed Oct 25, 2021
1 parent b734680 commit 0e7010c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0e7010c

Please sign in to comment.