the
This commit is contained in:
parent
8e822aba75
commit
6a6bfab5f6
1 changed files with 10 additions and 1 deletions
9
site.js
9
site.js
|
@ -48,6 +48,15 @@ async function urlCollector(url, path, file, useLimit, data2) {
|
|||
u.pathname = h;
|
||||
h = u.toString();
|
||||
}
|
||||
if (h.startsWith('?')) {
|
||||
let u = new URL(url);
|
||||
u.search = h;
|
||||
h = u.toString();
|
||||
}
|
||||
if (h.startsWith('#')) {
|
||||
let u = new URL(url);
|
||||
h = u.toString();
|
||||
}
|
||||
let h2;
|
||||
try {
|
||||
h2 = new URL(h);
|
||||
|
|
Loading…
Reference in a new issue