From 838d82c3b50567a7ce693d81ecda9402e7cbee8c Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Mon, 24 May 2021 17:12:16 +0200 Subject: [PATCH] redirect to /login --- packages/health-check/src/checks/critical.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/health-check/src/checks/critical.js b/packages/health-check/src/checks/critical.js index 1c51cfdb..6a13a20b 100644 --- a/packages/health-check/src/checks/critical.js +++ b/packages/health-check/src/checks/critical.js @@ -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