Fixed missing slash in biometrics bucket path.
This commit is contained in:
@@ -45,7 +45,7 @@ async function getImageBuffer(mediaEntry) {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
const res = await fetch(`https://${config.s3.bucket}${mediaEntry.path}`);
|
const res = await fetch(`https://${config.s3.bucket}/${mediaEntry.path}`);
|
||||||
|
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
return Buffer.from(await res.arrayBuffer());
|
return Buffer.from(await res.arrayBuffer());
|
||||||
|
|||||||
Reference in New Issue
Block a user