From 7805bbae68808eeee14a9c00f19286f59908a736 Mon Sep 17 00:00:00 2001
From: flashwave <me@flash.moe>
Date: Mon, 14 Apr 2025 14:58:41 +0000
Subject: [PATCH] You know things are on life support when the absolute paths
 get whipped out.

---
 src/Lookup/WebLookup.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Lookup/WebLookup.php b/src/Lookup/WebLookup.php
index fd5f481..4083a9b 100644
--- a/src/Lookup/WebLookup.php
+++ b/src/Lookup/WebLookup.php
@@ -141,7 +141,7 @@ final class WebLookup implements \Uiharu\ILookup {
         // and i'm not about to rewrite this whole fucking thing in nodejs
         // also at this point Index should probably provide a wrapper for proc_open lol
         $extract = proc_open(
-            sprintf('node %s/extract.mjs', UIH_ROOT),
+            sprintf('/opt/nodejs/bin/node %s/extract.mjs', UIH_ROOT),
             [0 => ['pipe', 'r'], 1 => ['pipe', 'w'], 2 => ['pipe', 'w']],
             $pipes
         );