Use undefined as the default value for password

An empty password is techincally legal, and now supported by the
RFB core, so we cannot use that as a placeholder for "no password".
This commit is contained in:
Pierre Ossman 2019-12-23 09:35:51 +01:00
parent dbbb676da9
commit 06a8f7d91a
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@
// By default, use the host and port of server that served this file
const host = readQueryVariable('host', window.location.hostname);
let port = readQueryVariable('port', window.location.port);
const password = readQueryVariable('password', '');
const password = readQueryVariable('password');
const path = readQueryVariable('path', 'websockify');
// | | | | | |