VNC client

This commit is contained in:
2026-09-15 01:22:43 -04:00
parent 2a69c2c745
commit 3917a8eaba
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -11,7 +11,6 @@
"license": "MIT",
"description": "Dashboard",
"dependencies": {
"@novnc/novnc": "^1.7.0",
"dotenv": "^17.4.1",
"express": "^5.2.1"
},
+1 -1
View File
@@ -4,7 +4,7 @@ import { registerSocket } from './websocket.mjs';
const VNC_HOST = process.env.VNC_HOST || '127.0.0.1';
const VNC_PORT = process.env.VNC_PORT || 5900;
const wss = registerSocket('/ws/vnc', {
const wss = registerSocket('/vnc/websockify', {
handleProtocols: protocols => (protocols.has('binary') ? 'binary' : false)
});