diff --git a/src/Response.php b/src/Response.php index 7a20dbb0..94d67432 100644 --- a/src/Response.php +++ b/src/Response.php @@ -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, ];