stage file upload an

This commit is contained in:
Fiqh Pratama
2025-10-13 14:55:46 +07:00
parent dd5dbcab8f
commit 76d4aa9b90
9 changed files with 1081 additions and 226 deletions
+5
View File
@@ -135,6 +135,11 @@ class NextCloudHelper
return route('admin.nextcloud.download', ['file' => base64_encode($filePath)]);
}
public static function getPreviewUrl($filePath)
{
return route('admin.nextcloud.preview', ['file' => base64_encode($filePath)]);
}
public static function getNextcloudFile($filePath)
{
// Check if the file exists