Skip to content

Commit f84f10a

Browse files
authored
fix: update SSR function to support older Symfony Process version
1 parent 02c2d1e commit f84f10a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core-php/src/TwigFunctions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static function fileExists() {
5151
public static function bolt_ssr($html) {
5252
$process = new Process(['node', '-r', 'esm', 'server/ssr-server.mjs', $html]);
5353
$process->setWorkingDirectory('../');
54-
$process->wait();
54+
$process->run();
5555
return $process->getOutput();
5656
}
5757

0 commit comments

Comments
 (0)