We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3f2d28d + 91b6c53 commit 6276378Copy full SHA for 6276378
src/Ssr/HttpGateway.php
@@ -16,7 +16,7 @@ public function dispatch(array $page): ?Response
16
return null;
17
}
18
19
- $url = str_replace('/render', '', config('inertia.ssr.url', 'http://127.0.0.1:13714')).'/render';
+ $url = str_replace('/render', '', rtrim(config('inertia.ssr.url', 'http://127.0.0.1:13714'), '/')) . '/render';
20
21
try {
22
$response = Http::post($url, $page)->throw()->json();
0 commit comments