From 40c7c1b515abf4abcecd6480afb28f27fb71d0f0 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Sat, 30 Dec 2023 21:32:23 -0500 Subject: port updater to ws, also small refactoring --- frontend/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/src/index.ts') diff --git a/frontend/src/index.ts b/frontend/src/index.ts index 3a0c4880..1ca06b0e 100644 --- a/frontend/src/index.ts +++ b/frontend/src/index.ts @@ -6,7 +6,7 @@ window.deckyAuthToken = await fetch('http://127.0.0.1:1337/auth/token').then((r) => r.text()); console.debug('Connecting to Decky backend...'); window.DeckyBackend = new (await import('./wsrouter')).WSRouter(); - await window.DeckyBackend.connect(); + await DeckyBackend.connect(); console.debug('Starting Decky!'); await import('./start'); })(); -- cgit v1.2.3