From 0a4e3b3f4505dae1ca3643478a251f343e2f949b Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Tue, 26 Oct 2021 17:01:51 +0200 Subject: [PATCH] fix --- packages/health-check/src/checks/critical.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/health-check/src/checks/critical.js b/packages/health-check/src/checks/critical.js index cdc9e9cb..3e2c8552 100644 --- a/packages/health-check/src/checks/critical.js +++ b/packages/health-check/src/checks/critical.js @@ -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,