This commit is contained in:
Karol Wypchlo 2021-10-26 17:01:51 +02:00
parent 4fbbc144c8
commit 0a4e3b3f45
No known key found for this signature in database
GPG Key ID: C92C016317A964D0
1 changed files with 6 additions and 6 deletions

View File

@ -84,12 +84,12 @@ async function handshakeSubdomainCheck(done) {
}
// websiteSkylinkCheck returns the result of accessing siasky.net website through skylink
// async function websiteSkylinkCheck(done) {
// const websiteSkylink = "0404dsjvti046fsua4ktor9grrpe76erq9jot9cvopbhsvsu76r4r30";
// const url = await skynetClient.getSkylinkUrl(websiteSkylink, { subdomain: true });
async function websiteSkylinkCheck(done) {
const websiteSkylink = "0404dsjvti046fsua4ktor9grrpe76erq9jot9cvopbhsvsu76r4r30";
const url = await skynetClient.getSkylinkUrl(websiteSkylink);
// return done(await genericAccessCheck("website_skylink", url));
// }
return done(await genericAccessCheck("website_skylink", url));
}
// accountWebsiteCheck returns the result of accessing account dashboard website
async function accountWebsiteCheck(done) {
@ -193,7 +193,7 @@ const checks = [
skydConfigCheck,
uploadCheck,
websiteCheck,
// websiteSkylinkCheck,
websiteSkylinkCheck,
downloadCheck,
skylinkSubdomainCheck,
handshakeSubdomainCheck,