Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Sep 11, 2017
1 parent f01f750 commit e370ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QiniuAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ public function has($path)
*/
public function getUrl($path)
{
return $this->normalizeHost($this->domain).$path;
return $this->normalizeHost($this->domain).ltrim($path, '/');
}

/**
Expand Down

0 comments on commit e370ece

Please sign in to comment.