simpleConnector的笔误
This commit is contained in:
parent
deb3384362
commit
6cec5d9272
|
|
@ -21,7 +21,7 @@ class SimpleConnector {
|
|||
this.configuration = configuration;
|
||||
const { routerPrefixes, http } = configuration;
|
||||
const { ssl, hostname, port, path } = http;
|
||||
const protocol = ssl ? 'https:' : 'http';
|
||||
const protocol = ssl ? 'https:' : 'http:';
|
||||
let serverUrl = `${protocol}//${hostname}`;
|
||||
this.serverUrl = serverUrl;
|
||||
if (typeof port === 'number') {
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ export default class SimpleConnector<ED extends EntityDict, FrontCxt extends Syn
|
|||
this.configuration = configuration;
|
||||
const { routerPrefixes, http } = configuration;
|
||||
const { ssl, hostname, port, path } = http;
|
||||
const protocol = ssl ? 'https:' : 'http';
|
||||
const protocol = ssl ? 'https:' : 'http:';
|
||||
let serverUrl = `${protocol}//${hostname}`;
|
||||
this.serverUrl = serverUrl;
|
||||
if (typeof port === 'number') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue