Open
Description
Currently if the project has the base url localhost/test
and we navigate to some/sub/page
the result is a url change to localhost/test/test/some/sub/page
in the brower by inertiajs. This url no longer matches the route we are currently at.
The issue seems to be that a path as part of the base url is not handled correctly.
This line in \Inertia\Response causes the issue.
'url' => $request->getBaseUrl().$request->getRequestUri(),
Metadata
Metadata
Assignees
Labels
No labels