From 6bf28aa55d471775e205b946dffb1c69241e5f23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Fri, 29 Jan 2021 23:21:14 +0100 Subject: [PATCH] update docs & minor typo. --- src/component/main.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/component/main.vue b/src/component/main.vue index 09d40d90..bb68fcfc 100644 --- a/src/component/main.vue +++ b/src/component/main.vue @@ -145,7 +145,7 @@ ///////////////////////////// // Public methods ///////////////////////////// - public async setUrl(url: string) { + public setUrl(url: string) { const httpURL = url.replace(/^ws/, 'http').replace(/\/$|\/ws\/?$/, '') this.api.setUrl(httpURL) }