Browse Source

fix: I brokered it

Sv443 1 month ago
parent
commit
6c2a48e106
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/parseURL.js

+ 1 - 1
src/parseURL.js

@@ -59,7 +59,7 @@ function parseURL(url)
                     let val = decodeURIComponent(splitEntry[1].toLowerCase());
 
                     if(["true", "false"].includes(val.toLowerCase()))
-                        val = Boolean(val.toLowerCase());
+                        val = val.toLowerCase() === "true";
 
                     qstrObj[decodeURIComponent(splitEntry[0])] = val;
                 }