Stream video with GridFSBucketAdapter (implements byte-range requests) (#6028)
* Stream video with GridFSBucketAdapter (implements byte-range requests) Closes: https://github.com/parse-community/parse-server/issues/5834 Similar to https://github.com/parse-community/parse-server/pull/2437 I ran into this issue while trying to view a mov file in safari from the dashboard. * Rename getFileStream to handleFileStream
This commit is contained in:
@@ -92,8 +92,8 @@ export class FilesController extends AdaptableController {
|
||||
return FilesAdapter;
|
||||
}
|
||||
|
||||
getFileStream(config, filename) {
|
||||
return this.adapter.getFileStream(filename);
|
||||
handleFileStream(config, filename, req, res, contentType) {
|
||||
return this.adapter.handleFileStream(filename, req, res, contentType);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user