Revert "fix website skylink check"

This reverts commit b52f055175.
This commit is contained in:
Karol Wypchlo 2021-10-26 16:56:07 +02:00
parent b52f055175
commit 313855a690
No known key found for this signature in database
GPG Key ID: C92C016317A964D0
1 changed files with 1 additions and 2 deletions

View File

@ -61,9 +61,8 @@ async function handshakeSubdomainCheck(done) {
// websiteSkylinkCheck returns the result of accessing siasky.net website through skylink // websiteSkylinkCheck returns the result of accessing siasky.net website through skylink
async function websiteSkylinkCheck(done) { async function websiteSkylinkCheck(done) {
const websiteSkylink = "0404dsjvti046fsua4ktor9grrpe76erq9jot9cvopbhsvsu76r4r30"; const websiteSkylink = "0404dsjvti046fsua4ktor9grrpe76erq9jot9cvopbhsvsu76r4r30";
const url = await skynetClient.getSkylinkUrl(websiteSkylink, { subdomain: true });
return done(await genericAccessCheck("website_skylink", url)); return done(await genericAccessCheck("website_skylink", websiteSkylink));
} }
// accountWebsiteCheck returns the result of accessing account dashboard website // accountWebsiteCheck returns the result of accessing account dashboard website