@alfe.ai/gateway 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/health.js +4 -6
- package/package.json +1 -1
package/dist/health.js
CHANGED
|
@@ -4541,12 +4541,10 @@ function getSystemdServicePath() {
|
|
|
4541
4541
|
function getGatewayBinPath() {
|
|
4542
4542
|
const globalBin = process.env.ALFE_GATEWAY_BIN;
|
|
4543
4543
|
if (globalBin) return globalBin;
|
|
4544
|
-
const
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
if (existsSync(resolved)) return resolved;
|
|
4549
|
-
} catch {}
|
|
4544
|
+
for (const rel of ["../bin/gateway.js", "bin/gateway.js"]) {
|
|
4545
|
+
const candidate = join(import.meta.dirname, rel);
|
|
4546
|
+
if (existsSync(candidate)) return candidate;
|
|
4547
|
+
}
|
|
4550
4548
|
return "alfe-gateway";
|
|
4551
4549
|
}
|
|
4552
4550
|
function getNodePath() {
|