mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-14 00:31:25 +10:00
feat(acls): added backend acls
This commit is contained in:
@ -76,7 +76,7 @@ export abstract class ObjectBackend {
|
||||
}
|
||||
if (source instanceof Buffer) {
|
||||
const mime =
|
||||
getMimeTypeBuffer(source)?.mime ?? "application/octet-stream";
|
||||
getMimeTypeBuffer(new Uint8Array(source).buffer)?.mime ?? "application/octet-stream";
|
||||
return { source: source, mime };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user