mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 18:50:41 +01:00
Add mongo content provider example.
This commit is contained in:
@@ -54,6 +54,7 @@ export function createPartialContentHandler(contentProvider: ContentProvider, lo
|
||||
// Return 206 Partial Content status
|
||||
logger.debug("Returning partial content for range: ", JSON.stringify(range));
|
||||
res.status(206);
|
||||
getStream(range).pipe(res);
|
||||
|
||||
return getStream(range).pipe(res);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user