Skip to content

Commit

Permalink
Fix page.url doesn't contain url prefix (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppodds authored Jan 6, 2022
1 parent e67e3f2 commit bf05924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function toResponse($request)
$page = [
'component' => $this->component,
'props' => $props,
'url' => $request->getRequestUri(),
'url' => $request->getBaseUrl().$request->getRequestUri(),
'version' => $this->version,
];

Expand Down

0 comments on commit bf05924

Please sign in to comment.