meta-fuse update

This commit is contained in:
Pierre
2026-01-17 14:50:28 +01:00
parent 4b41c39b09
commit cefd0f73be
6 changed files with 99 additions and 5 deletions
+6 -1
View File
@@ -205,12 +205,17 @@ export class APIServer {
return;
}
// Return source path for FUSE driver to read from
// Return source path and/or WebDAV URL for FUSE driver to read from
const response: Record<string, unknown> = {
sourcePath: result.sourcePath,
size: result.size,
};
// Include WebDAV URL if available (for remote file access)
if (result.webdavUrl) {
response.webdavUrl = result.webdavUrl;
}
// If content is provided (virtual file), encode as base64
if (result.content !== null) {
response.content = result.content.toString('base64');