diff --git a/src/GoogleDriveAdapter.php b/src/GoogleDriveAdapter.php index 654a3eb..52c0ebf 100644 --- a/src/GoogleDriveAdapter.php +++ b/src/GoogleDriveAdapter.php @@ -959,6 +959,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; }