fix(ui) - compile errors
This commit is contained in:
parent
ce3c595a1c
commit
8d2f688986
1 changed files with 2 additions and 2 deletions
|
|
@ -147,13 +147,13 @@ export default class AssistManager {
|
|||
return;
|
||||
}
|
||||
this.setStatus(ConnectionStatus.Connecting)
|
||||
// @ts-ignore
|
||||
const urlObject = new URL(window.ENV.API_EDP)
|
||||
import('peerjs').then(({ default: Peer }) => {
|
||||
const _config = {
|
||||
// @ts-ignore
|
||||
host: urlObject.hostname,
|
||||
path: '/assist',
|
||||
port: urlObject.port === "" ? location.protocol === 'https:' ? 443 : 80 : urlObject.port,
|
||||
port: urlObject.port === "" ? (location.protocol === 'https:' ? 443 : 80 ): parseInt(urlObject.port),
|
||||
}
|
||||
|
||||
if (this.config) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue