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:
parent
dbbb676da9
commit
06a8f7d91a
|
@ -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');
|
||||
|
||||
// | | | | | |
|
||||
|
|
Loading…
Reference in New Issue