Skip to content

Commit

Permalink
fixed: url_v2未考虑Path的/前缀
Browse files Browse the repository at this point in the history
  • Loading branch information
xxx committed Apr 16, 2024
1 parent 87f4beb commit f1843d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helper.php
Expand Up @@ -668,7 +668,7 @@ function url_v2($path): string
}

if ($domain) {
return $domain . '/' . ltrim($path);
return $domain . '/' . ltrim($path, '/');
}

return $path;
Expand Down

0 comments on commit f1843d3

Please sign in to comment.