VNC client
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
"license": "MIT",
|
||||
"description": "Dashboard",
|
||||
"dependencies": {
|
||||
"@novnc/novnc": "^1.7.0",
|
||||
"dotenv": "^17.4.1",
|
||||
"express": "^5.2.1"
|
||||
},
|
||||
|
||||
@@ -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)
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user