fix critical health check

This commit is contained in:
Karol Wypchlo 2021-06-18 12:58:36 +02:00
parent dd02215292
commit ad6cc2bf46
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ async function directServerApiAccessCheck(done) {
if (portalAccessCheck.ip !== serverAccessCheck.ip) { if (portalAccessCheck.ip !== serverAccessCheck.ip) {
serverAccessCheck.up = false; serverAccessCheck.up = false;
serverAccessCheck.info = { serverAccessCheck.info = {
message: "Access ip mismatch between domain and direct access", message: "Access ip mismatch between portal and server access",
response: { response: {
portal: { name: process.env.SKYNET_PORTAL_API, ip: portalAccessCheck.ip }, portal: { name: process.env.SKYNET_PORTAL_API, ip: portalAccessCheck.ip },
server: { name: process.env.SKYNET_SERVER_API, ip: serverAccessCheck.ip }, server: { name: process.env.SKYNET_SERVER_API, ip: serverAccessCheck.ip },