Skip to content

Commit 13bc1e0

Browse files
authored
Merge pull request #19 from sebastiandedeyne/master
Use a string for the X-Inertia header value
2 parents 6c65b74 + f1300b0 commit 13bc1e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Component.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function render($component, $props = [])
6363
if (Request::header('X-Inertia')) {
6464
return Response::json($page, 200, [
6565
'Vary' => 'Accept',
66-
'X-Inertia' => true,
66+
'X-Inertia' => 'true',
6767
]);
6868
}
6969

0 commit comments

Comments
 (0)