Load fonts directly from assets directory, fix image buffer issues
This commit is contained in:
parent
273e5b94d7
commit
4f66519aa7
22 changed files with 188 additions and 111 deletions
|
@ -140,7 +140,7 @@ class ImageConnection {
|
|||
type = contentType;
|
||||
break;
|
||||
}
|
||||
return { arrayBuffer: await req.body.arrayBuffer(), type };
|
||||
return { buffer: Buffer.from(await req.body.arrayBuffer()), type };
|
||||
}
|
||||
|
||||
async getCount() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue