diff options
author | Pierre Ossman <ossman@cendio.se> | 2023-05-10 12:24:53 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2023-05-10 12:25:46 +0200 |
commit | 05b6d2ad67fbe6f3a7d7cbf1fbe0e0cec1362929 (patch) | |
tree | a76bd435cc2aaad871a24e5c177695a928e5e8f0 | |
parent | 2a21bee245aee7827eb00925307d2e107b6db646 (diff) | |
download | novnc-05b6d2ad67fbe6f3a7d7cbf1fbe0e0cec1362929.tar.gz |
Fix typos in query variable comment
-rw-r--r-- | app/webutil.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/webutil.js b/app/webutil.js index a2eab19..b94f035 100644 --- a/app/webutil.js +++ b/app/webutil.js @@ -25,10 +25,10 @@ export function initLogging(level) { // // For privacy (Using a hastag #, the parameters will not be sent to the server) // the url can be requested in the following way: -// https://www.example.com#myqueryparam=myvalue&password=secreatvalue +// https://www.example.com#myqueryparam=myvalue&password=secretvalue // // Even Mixing public and non public parameters will work: -// https://www.example.com?nonsecretparam=example.com#password=secreatvalue +// https://www.example.com?nonsecretparam=example.com#password=secretvalue export function getQueryVar(name, defVal) { "use strict"; const re = new RegExp('.*[?&]' + name + '=([^&#]*)'), |