Fix https lsp problems (#139)

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
pull/146/head
Jerome Luckenbach 2019-10-09 18:10:44 +02:00 committed by GitHub
parent 275cc21e70
commit 01eee46496
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -17,8 +17,9 @@ export class RemoteLanguageClientProvider {
public connect(): Disposable {
let config = workspace.getConfiguration('openhab')
let host = config.host.includes('://') ? config.host.split('://')[1] : config.host
let connectionInfo = {
host: config.host,
host: host,
port: config.remoteLspPort
}