Skip to content

Commit c1d0d56

Browse files
authored
fix replace links (#390)
1 parent a5bd62b commit c1d0d56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/Documentation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public static function replaceLinks($version, $content)
9797

9898
$content = str_replace('{{route}}', trim(config('larecipe.docs.route'), '/'), $content);
9999

100-
$content = str_replace('"#', '"'.request()->getRequestUri().'#', $content);
100+
$content = str_replace('"#', '"'.request()->getPathInfo().'#', $content);
101101

102102
return $content;
103103
}

0 commit comments

Comments
 (0)