Skip to content

Commit

Permalink
fix: remove trailing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
im-machakata authored Jan 13, 2023
1 parent 3ae6073 commit 0b11c22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Groomer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,9 @@ protected function getPostImage() {
}
return $this->pageThumbnail;
}
if($this->pageThumbnail[0] == '/'){
return $this->getWebsiteHome() . $this->pageThumbnail;
}
return $this->getWebsiteHome() . '/' . $this->pageThumbnail;
}

Expand Down

0 comments on commit 0b11c22

Please sign in to comment.