Skip to content

Commit 1e3a922

Browse files
authored
Switch to path-only URL format
Resolves #23
1 parent 13bc1e0 commit 1e3a922

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
@@ -56,7 +56,7 @@ public function render($component, $props = [])
5656
$page = [
5757
'component' => $component,
5858
'props' => array_merge($this->sharedProps, $props),
59-
'url' => Request::fullUrl(),
59+
'url' => Request::getRequestUri(),
6060
'version' => $this->getVersion(),
6161
];
6262

0 commit comments

Comments
 (0)