From f6383fb4b5d9b8cfa89550a313e0a8dbecd22036 Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 10 Jul 2023 16:04:06 +0100 Subject: [PATCH] Add comment --- src/widget.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/widget.ts b/src/widget.ts index ce8a3c33..a7ea1b0f 100644 --- a/src/widget.ts +++ b/src/widget.ts @@ -170,6 +170,8 @@ export const widget: WidgetHelpers | null = (() => { const clientPromise = new Promise((resolve) => { (async () => { + // wait for the config file to be ready (we load very early on so it might not + // be otherwise) await Config.init(); const livekit = Config.get().livekit; const focus = livekit?.livekit_service_url;