Fixed tests
Some checks failed
Build / Tag Version (push) Blocked by required conditions
Build / Publish (push) Blocked by required conditions
Build / Build NPM Project (push) Has been cancelled

This commit is contained in:
2024-02-07 02:31:16 -05:00
parent ff849b844a
commit 299224088c
35 changed files with 3824 additions and 416 deletions

View File

@ -52,8 +52,8 @@ export function urlParser(url: string): ParsedUrl {
groups.subdomain = domains.join('.');
}
if(groups.query) {
const split = (<any>groups.query).split('&'), query = {};
split.forEach(q => {
const split = (<any>groups.query).split('&'), query: any = {};
split.forEach((q: any) => {
const [key, val] = q.split('=');
query[key] = val;
});