|
|
@ -17,9 +17,10 @@ if (AlistData != "") { |
|
|
|
} |
|
|
|
} |
|
|
|
function gethtml(api,path,password) { |
|
|
|
function gethtml(api,path,password) { |
|
|
|
try{ |
|
|
|
try{ |
|
|
|
|
|
|
|
log(api); |
|
|
|
path = path || ""; |
|
|
|
path = path || ""; |
|
|
|
password = password || ""; |
|
|
|
password = password || ""; |
|
|
|
let html = fetch(api, {body: `{"path":`+path+`,"password":`+password+`}`,method:'POST'}); |
|
|
|
let html = fetch(api, {body: `{"path":"","password":""}`,method:'POST'}); |
|
|
|
log(html); |
|
|
|
log(html); |
|
|
|
return html; |
|
|
|
return html; |
|
|
|
}catch(e){ |
|
|
|
}catch(e){ |
|
|
|