Skip to content

Commit 7920ba7

Browse files
committed
Update ReactServer.php
1 parent 478aeaf commit 7920ba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ubiquity/servers/react/ReactServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function (\Psr\Http\Message\ServerRequestInterface $request) use($config,$httpIn
4848
\Ubiquity\controllers\Startup::run($config);
4949
$content=ob_get_clean();
5050

51-
return new \React\Http\Response(http_response_code(),$headers,$content);
51+
return new \React\Http\Response($httpInstance->getResponseCode(),$headers,$content);
5252
}
5353
]);
5454
}

0 commit comments

Comments
 (0)