Skip to content

Commit 1cf0f9a

Browse files
ToddHebebrandclaude
andcommitted
fix: correct noVNC import path from core/rfb to lib/rfb
The @novnc/novnc package has RFB at lib/rfb.js, not core/rfb. Vite dependency scan failed to resolve the incorrect path. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 105def1 commit 1cf0f9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/src/components/remote/VncViewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default function VncViewer({ wsUrl, tunnelId, onDisconnect, className }:
4444
let disposed = false;
4545

4646
async function connect() {
47-
const { default: RFB } = await import('@novnc/novnc/core/rfb');
47+
const { default: RFB } = await import('@novnc/novnc/lib/rfb');
4848
if (disposed || !containerRef.current) return;
4949

5050
rfb = new RFB(containerRef.current, wsUrl, {

0 commit comments

Comments
 (0)