redirect to /login

This commit is contained in:
Karol Wypchlo 2021-05-24 17:12:16 +02:00
parent 175ee075c7
commit 838d82c3b5
1 changed files with 3 additions and 1 deletions

View File

@ -59,7 +59,9 @@ async function handshakeSubdomainCheck(done) {
// handshakeSubdomainCheck returns the result of accessing account dashboard website
async function accountWebsiteCheck(done) {
return genericAccessCheck("account_website", process.env.SKYNET_DASHBOARD_URL, done);
const url = `${process.env.SKYNET_DASHBOARD_URL}/auth/login`;
return genericAccessCheck("account_website", url, done);
}
// accountHealthCheck returns the result of accounts service health checks