rename check

This commit is contained in:
Karol Wypchlo 2021-06-16 17:02:52 +02:00
parent 9729bf7cff
commit 4689a7d92e
1 changed files with 2 additions and 2 deletions

View File

@ -71,8 +71,8 @@ async function directServerApiAccessCheck(done) {
}
const [domainAccessCheck, directAccessCheck] = await Promise.all([
genericAccessCheck("domain", process.env.SKYNET_PORTAL_API),
genericAccessCheck("direct", process.env.SKYNET_SERVER_API),
genericAccessCheck("portal_api_access", process.env.SKYNET_PORTAL_API),
genericAccessCheck("direct_server_api_access", process.env.SKYNET_SERVER_API),
]);
if (domainAccessCheck.ip !== directAccessCheck.ip) {