fix critical health check
This commit is contained in:
parent
dd02215292
commit
ad6cc2bf46
|
@ -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 },
|
||||||
|
|
Reference in New Issue