From cd779c75a68c99d9fb767ec4767d45a40739c109 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 22 Feb 2022 18:22:00 +0100 Subject: [PATCH] wip #5120 --- src/Index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Index.php b/src/Index.php index 4b50337..4086489 100644 --- a/src/Index.php +++ b/src/Index.php @@ -75,8 +75,8 @@ class Index implements ShouldQueue, ShouldBeUnique $tmp = Files::tempnam(); file_put_contents($tmp, json_encode($res)); $cl = new CommandLine('nodejs'); - $cl->cd(__DIR__ . '/../js/'); - $cl->setArg(null, 'index.js'); + $cl->cd(__DIR__ . '/../'); + $cl->setArg(null, 'js/index.js'); $cl->setArg(null, $tmp); $cl->setArg(null, $fields); $cl->setArg(null, $storeFields); -- 2.39.5