From 05b6d2ad67fbe6f3a7d7cbf1fbe0e0cec1362929 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 10 May 2023 12:24:53 +0200 Subject: Fix typos in query variable comment --- app/webutil.js | 4 ++-- 1 file 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 + '=([^&#]*)'), -- cgit v1.2.1