feat(acls): added backend acls

This commit is contained in:
DecDuck
2025-02-04 13:15:34 +11:00
parent 256fbd6afa
commit 090d2e6586
70 changed files with 397 additions and 474 deletions

View File

@ -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 };
}