Skip to content

Commit

Permalink
Merge pull request #89 from kovspace/patch-1
Browse files Browse the repository at this point in the history
Publish a folder
  • Loading branch information
masbug authored Mar 9, 2023
2 parents 3c17ef5 + a9277ed commit e520910
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/GoogleDriveAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -968,6 +968,9 @@ public function getUrl($path)
if (($url = $obj->getWebViewLink())) {
return $url;
}
if ($obj->mimeType === self::DIRMIME) {
return 'https://drive.google.com/drive/folders/'.$obj->id.'?usp=sharing';
}
}
return false;
}
Expand Down

0 comments on commit e520910

Please sign in to comment.